Your browser does not seem to support CSS. If images appear below, please disregard them.
It appears that you're running an Ad-Blocker. This site is monetized by Advertising and by User Donations; we ask that if you find this site helpful that you whitelist us in your Ad-Blocker, or make a Donation to help aid in operating costs.
Previous Thread
Next Thread
Print Thread
Rate This Thread
#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

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

Member Spotlight
Crime
Crime
SC, usa
Posts: 506
Joined: March 2002
Show All Member Profiles 
Forum Statistics
Forums45
Topics33,749
Posts68,921
Average Daily Posts2
Members2,160
Most Online1,567
Apr 25th, 2010
Latest Postings
adidas zx flux femme
by Meyershello on 01/17/17 03:43 AM
adidas zx 700 baratas
by Meyershello on 01/17/17 03:43 AM
nike air pegasus 89 baratas
by Meyershello on 01/17/17 03:36 AM
adidas superstar dame sort
by Meyershello on 01/17/17 03:33 AM
Blackbeard.....
by Gremelin on 01/14/17 07:03 PM
Top Posters(All Time)
UGN Security 40,874
Gremelin 7,197
§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
fleshwound Likes: 1
Ghost Likes: 2
Gremelin Likes: 12
Ice Likes: 1
ninjaneo Likes: 1
Top Liked Users (30 Days)
fleshwound Likes: 1
Powered by UBB.threads™ PHP Forum Software 7.6.0
(Snapshot build 20160902)