Forum: C Sep 17th, 2008 |
| Replies: 7 Views: 1,096 Well... Thanks for help from you all. I will try select(). I'm quite new to this p2p concept, that's why I got confused with server and client. |
Forum: C Sep 16th, 2008 |
| Replies: 7 Views: 1,096 Yes...I understand what you all say, but the thing I'm not very clear is, how they decide who will be server and who will be client. Like the server-client version, the server must do SOCKET,BIND,... |
Forum: C Sep 16th, 2008 |
| Replies: 7 Views: 1,096 Hi, everyone!
I'm doing a p2p streaming project. This project is actually about : the server and client will connect first (socket created), after connect then client will receive the IP address of... |
Forum: C Sep 8th, 2008 |
| Replies: 1 Views: 686 Hello everyone,
I don't know what is the exact name to call this, so I call based on what I want to do in my program. Its operation got something similar to chat server and client.
I have server... |
Forum: C Aug 31st, 2008 |
| Replies: 9 Views: 748 I copy those lines :
char sQuery[1000];
printf("msyql>");
fgets(sQuery, sizeof sQuery, stdin);
printf("%s", sQuery); //to see if fgets() works
to another text editor.... |
Forum: C Aug 31st, 2008 |
| Replies: 9 Views: 748 Er...I have one problem with mysql database. Hope you can guide me, Salem.
if (mysql_query(conn, "show tables")) {
fprintf(stderr, "%s\n", mysql_error(conn));
exit(1);
}
The... |
Forum: C Aug 30th, 2008 |
| Replies: 9 Views: 748 Ok. I know my mistakes in those 2 calls now (I always use like this, thank you for correcting). But your question about the opt_host_name, where is the pointer pointing, I want to ask another... |
Forum: C Aug 30th, 2008 |
| Replies: 9 Views: 748 Ok. I know my mistakes in those 2 calls now (I always use like this, thank you for correcting). But your question about the opt_host_name, where is the pointer pointing, I want to ask another... |
Forum: C Aug 30th, 2008 |
| Replies: 9 Views: 748 Hi, everyone!
I want to make the user authentication for mysql database. I write the code and test it, but can't run. Let's I talk about my project idea first.
I have a server, a client and a mysql... |