Your browser does not seem to support CSS. If images appear below, please disregard them.
toggle
July
S M T W T F S
1 2
3 4 5 6 7 8 9
10 11 12 13 14 15 16
17 18 19 20 21 22 23
24 25 26 27 28 29 30
31
Sponsored Links
Latest Postings
· Blackbeard.....
by Gremelin on 07/04/16 08:31 PM
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
Gremelin

Gremelin
Portland, OR; USA
Posts: 7,195
Joined: February 2002
Show All Member Profiles 
Forum Statistics
Forums46
Topics46,229
Posts81,399
Members2,157
Most Online1,567
Apr 25th, 2010
Top Posters(All Time)
UGN Security 39,393
Gremelin 7,195
§intå× 3,255
SilentRage 1,273
Ice 1,146
pergesu 1,136
Infinite 1,041
jonconley 955
Girlie 908
unreal 860
Newest Members
Herbert_Sherbert, codemauve, Lillysdragon1984, Brewwit, boa
2157 Registered Users
Who's Online Now
0 registered members (), 4 guests and 1 spider.
Latest News