Enlightenment CVS committal
Author : raster
Project : e17
Module : libs/ecore
Dir : e17/libs/ecore/examples
Modified Files:
con_client_example.c
Log Message:
fix exmaple and spanky
===================================================================
RCS file: /cvsroot/enlightenment/e17/libs/ecore/examples/con_client_example.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -3 -r1.2 -r1.3
--- con_client_example.c 22 Mar 2005 10:54:16 -0000 1.2
+++ con_client_example.c 23 Sep 2005 05:46:55 -0000 1.3
@@ -13,7 +13,7 @@
#define SOCKET_NAME "con_example"
#define SOCKET_PORT 0
-char *msg = "Hello server!";
+char *msg = "get http://www.enlightenment.org\n";
typedef int (*Handler_Func) (void *data, int type, void *event);
@@ -33,8 +33,8 @@
ecore_con_init();
// Try to conect to server.
- svr = ecore_con_server_connect(ECORE_CON_REMOTE_SYSTEM, "mail.valinux.co.jp",
- 110, NULL);
+ svr = ecore_con_server_connect(ECORE_CON_REMOTE_SYSTEM,
"www.enlightenment.org",
+ 80, NULL);
if (NULL == svr) {
printf("*** ERROR: Unable to connect to server.\n");
printf("*** Start con_server_example before running this program.\n");
-------------------------------------------------------
SF.Net email is sponsored by:
Tame your development challenges with Apache's Geronimo App Server. Download
it for free - -and be entered to win a 42" plasma tv or your very own
Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php
_______________________________________________
enlightenment-cvs mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-cvs