Previous Thread
Next Thread
Print Thread
Rate Thread
how to call function at server #17107
06/14/04 09:38 PM
06/14/04 09:38 PM
Joined: Jun 2004
Posts: 1
johnjohn11 Offline OP
Junior Member
johnjohn11  Offline OP
Junior Member

Joined: Jun 2004
Posts: 1
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

Re: how to call function at server #17108
06/14/04 10:01 PM
06/14/04 10:01 PM
Joined: Mar 2002
Posts: 1,273
SilentRage Offline
DollarDNS Owner
SilentRage  Offline
DollarDNS Owner

Joined: Mar 2002
Posts: 1,273
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

Member Spotlight
None yet
Show All Member Profiles 
Forum Statistics
Average Daily Posts0
Most Online2,867
Nov 14th, 2019
Latest Postings
by JohanKaariainen. 08/15/19 12:18 AM
Top Posters(All Time)
UGN Security 41,392
Gremelin 7,203
§intå× 3,255
SilentRage 1,273
Ice 1,146
pergesu 1,136
Infinite 1,041
jonconley 955
Girlie 908
unreal 860
Top Liked Users (All Time)
§intå× Likes: 3
Black Beard Likes: 1
Cold Sunn Likes: 1
Crime Likes: 1
Cyrez Likes: 1
Dartur Likes: 1
fleshwound Likes: 1
Ghost Likes: 2
Girlie Likes: 1
Gremelin Likes: 14
Powered by UBB.threads™ PHP Forum Software 7.7.0