Threaded Client Example
Posted on 2004-04-03
1) Could someone write a quick threaded client socket example for me? Basically I want this to be able to run on my RH9 box and i just need a little simple template that creates a thread that creates a socket and connects to yahoo.com:80 for example.This thread that creates a socket should do the following: Send "hello" Receive some data (store it in a chr*) and then send out the data it stored once it gets a "hello"from the server...
2) I need this thread to call a metheod (void) when something special happens (i.e. Server sends "bye")