pastebin

About this pastebin

Welcome to the bulix.org / pastebin. Please don't use this pastebin for illegal purposes, defamation or kitten-squashing.

This pastebin is written using PHP and MySQL and relies on Alex Gorbatchev's syntax hhighlighter (JavaScript based). To avoid spam, you will be required to complete a small mathematical challenge when adding a new paste.

Private paste #61741: tttt

#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <unistd.h>
#include <fcp2.h>

int main(int argc, char *argv[])
{
	FcpMessage *msg;
	FcpServer *serv;
	int port=9481;
	char *host="127.0.0.1";
	char key[5000];
	char mykey[]="CHK@~1D4uM8BqfGbHVjah91Izh-jIuZUn26S0T~uH-lHOW4,zvZCH2oY0IqsesCjH3E3rCUNObzbYEyYl4HWD0nqF-c,AAIA--8";

	msg = FcpMessageCreate(2*1024);
	if (msg==NULL)
		return(1);
	/* Connect to the server */
	serv = FcpServerConnect(host, port, 64*1024, 64*1024);
	if (serv==NULL)
	{
		printf("Couldn't connect to %s %d!!\n", host, port);
		return(1);
	}
	/* Send the client hello message */
	FcpMessageSend(serv, "ClientGet", 14, 
	"IgnoreDS", "false", "DSOnly", "false",\
	"URI",mykey,"Identifier","this is a test grab",\
	"Verbosity","0","ReturnType","direct","MaxSize","100",\
	"MaxTempSize","1000","MaxRetries","100","PriorityClass","1",\
	"Persistence","reboot","ClientToken","hello","Global","false",
	"BinaryBlob","false"
	);
	int ret = FcpMessageRecv(serv, msg);
	printf("msg:%s\n",msg);
	/* Clean up */
	FcpServerDisconnect(serv);
	FcpMessageDestroy(msg);

	return(0);
}

New paste

  Language:
Private   — Wrap long lines  —  5 + 1 =   —  

30 more recent public pastes


# Title Type Date
1 Untitled ASCII paste by 84.190.218.1 ASCII 04 Jul 2009, 07:25
2 Untitled XML/HTML paste by 71.235.178.72 XML/HTML 04 Jul 2009, 03:13
3 Untitled ASCII paste by 67.141.131.214 ASCII 03 Jul 2009, 17:40
4 Untitled ASCII paste by 67.141.131.214 ASCII 03 Jul 2009, 15:09
5 Untitled ASCII paste by 67.141.131.214 ASCII 03 Jul 2009, 15:08
6 Untitled ASCII paste by 67.141.131.214 ASCII 03 Jul 2009, 14:19
7 Untitled ASCII paste by 67.141.131.214 ASCII 03 Jul 2009, 14:13
8 Untitled ASCII paste by 67.141.131.214 ASCII 03 Jul 2009, 02:35
9 Untitled ASCII paste by 67.141.131.214 ASCII 03 Jul 2009, 02:22
10 Untitled ASCII paste by 67.141.131.214 ASCII 03 Jul 2009, 02:20
11 Untitled ASCII paste by 67.141.131.214 ASCII 03 Jul 2009, 02:17
12 Untitled ASCII paste by 67.141.131.214 ASCII 03 Jul 2009, 00:40
13 Untitled ASCII paste by 67.141.131.214 ASCII 03 Jul 2009, 00:23
14 Untitled ASCII paste by 67.141.131.214 ASCII 02 Jul 2009, 23:20
15 Untitled ASCII paste by 67.141.131.214 ASCII 02 Jul 2009, 23:19
16 Untitled Perl paste by 212.117.187.46 Perl 02 Jul 2009, 21:27
17 Untitled ASCII paste by 67.141.131.214 ASCII 02 Jul 2009, 20:42
18 Untitled ASCII paste by 67.141.131.214 ASCII 02 Jul 2009, 19:12
19 Untitled ASCII paste by 67.141.131.214 ASCII 02 Jul 2009, 19:10
20 Untitled ASCII paste by 67.141.131.214 ASCII 02 Jul 2009, 19:08
21 Untitled ASCII paste by 67.141.131.214 ASCII 02 Jul 2009, 19:01
22 Untitled ASCII paste by 67.141.131.214 ASCII 02 Jul 2009, 18:51
23 Untitled ASCII paste by 67.141.131.214 ASCII 02 Jul 2009, 11:19
24 Untitled ASCII paste by 82.247.183.72 ASCII 02 Jul 2009, 11:16
25 Untitled ASCII paste by 67.141.131.214 ASCII 02 Jul 2009, 11:12
26 Untitled ASCII paste by 67.141.131.214 ASCII 02 Jul 2009, 11:01
27 Untitled ASCII paste by 67.141.131.214 ASCII 02 Jul 2009, 10:56
28 Untitled ASCII paste by 67.141.131.214 ASCII 02 Jul 2009, 10:54
29 Untitled ASCII paste by 67.141.131.214 ASCII 02 Jul 2009, 10:36
30 Untitled ASCII paste by 67.141.131.214 ASCII 02 Jul 2009, 03:23

Powered by the Bulix.org Code Pastebin, by Maxime Petazzoni. View pastebin statistics.