Your browser does not seem to support CSS. If images appear below, please disregard them.
toggle
February
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
Sponsored Links
Latest Postings
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,194
Joined: February 2002
Show All Member Profiles 
Forum Statistics
Forums46
Topics43,885
Posts79,059
Members2,157
Most Online1,567
Apr 25th, 2010
Top Posters(All Time)
UGN Security 37,048
Gremelin 7,194
§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 (), 0 guests and 0 spiders.
Latest News