| | |
Help with client-server program
Please support our C advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: May 2007
Posts: 52
Reputation:
Solved Threads: 0
Hi, I am trying to make a server-client program about a bank.
When a client connects to server , he has to send a character so as to define the operation like 'D' for create account.
And I would like when client sends q to terminate .
The character is saved in a buffer.
If the server take the character send message to the client 'You decide to create an account'.
Also I would like when I press a character in server to terminate and not with ctrl^c.
Could someone help me ??
Thanking you in advance
When a client connects to server , he has to send a character so as to define the operation like 'D' for create account.
And I would like when client sends q to terminate .
The character is saved in a buffer.
If the server take the character send message to the client 'You decide to create an account'.
Also I would like when I press a character in server to terminate and not with ctrl^c.
Could someone help me ??
Thanking you in advance
![]() |
Similar Threads
- Client and server with objects (Java)
- Simple Client Server Instant Messaging Java code using UDP datagrams (Java)
- error in tcp:client/server (C)
- error in tcp:client/server (Perl)
- Web client enable C++ program on server (C++)
- problem with Client/Server in CORBA (C++)
- Java Client/Server (Java)
- client server communication problem in CSocket program (C)
- java client server quiz. interesting!!! (Java)
Other Threads in the C Forum
- Previous Thread: delete same array element in C
- Next Thread: Forking
| Thread Tools | Search this Thread |
* ansi api array arrays bash binarysearch calculate centimeter changingto char character convert copyanyfile copypdffile createcopyoffile createprocess() csyntax directory dynamic fflush file floatingpointvalidation fork forloop frequency getlasterror getlogicaldrivestrin givemetehcodez graphics gtkgcurlcompiling gtkwinlinux hardware highest homework i/o ide inches initialization intmain() iso km license linked linkedlist linux linuxsegmentationfault list logical_drives loopinsideloop. lowest match matrix microsoft motherboard mqqueue multi mysql oddnumber odf open opendocumentformat openwebfoundation pdf pointer pointers posix power program programming pyramidusingturboccodes read recursion recv recvblocked repetition reversing scanf scheduling segmentationfault send shape single socketprogramming stack standard strchr string strings suggestions test testautomation unix urboc user variable whythiscodecausesegmentationfault win32api windows.h windowsapi





