Your browser does not seem to support CSS. If images appear below, please disregard them.
Topic Options
Rate This Topic
#17107 - 06/15/04 05:38 AM how to call function at server
Joined: Jun 2004
Posts: 1
johnjohn11 Offline
Junior Member
johnjohn11 Offline
Junior Member

Joined: Jun 2004
Posts: 1
asdasdasd
Hello everybody,

I need some help from you.

It is all around socket programming.
I got my client and server worked, it is just a simple socket programming with read() and write().

Suppose I know there is a function at the server side: void foo(char *bar).
Is it possible from client to call this function? if yes, how can i do this? what should i do?

thank you

Top
Sponsored Links
#17108 - 06/15/04 06:01 AM Re: how to call function at server
Joined: Mar 2002
Posts: 1,273
SilentRage Offline
DollarDNS Owner
SilentRage Offline
DollarDNS Owner

Joined: Mar 2002
Posts: 1,273
OH, USA
When the server reads a special command sent by the client, it calls the function and can even write back out to the client the result.


Domain Registration, Hosting, Management
http://www.dollardns.net
Top

Member Spotlight
Crime

Crime
SC, usa
Posts: 506
Joined: March 2002
Show All Member Profiles 
Sponsored Links
Forum Statistics
Forums46
Topics46,445
Posts81,615
Members2,157
Most Online1,567
Apr 25th, 2010
Latest Postings
Top Posters(All Time)
UGN Security 39,609
Gremelin 7,195
§intå× 3,255
SilentRage 1,273
Ice 1,146
pergesu 1,136
Infinite 1,041
jonconley 955
Girlie 908
unreal 860