![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Apr 2008
Posts: 15
Rep Power: 0
![]() |
reverse connection
In reverse connection server connects clients.(client is listening)So how clients sends its commands through to server?
|
|
|
|
|
|
#2 | |
|
Professional Programmer
Join Date: May 2006
Location: UK - London
Posts: 329
Rep Power: 3
![]() |
Re: reverse connection
If the client is listening and accepting connections wouldn't that make it a server?
__________________
Quote:
|
|
|
|
|
|
|
#3 |
|
Newbie
Join Date: Apr 2008
Posts: 15
Rep Power: 0
![]() |
Re: reverse connection
in reverse connection server acts like client and client acts like server
|
|
|
|
|
|
#4 |
|
Hobbyist Programmer
|
Re: reverse connection
so the client remains as full client in which it sends commands to the server, the server then proccess these or whatever forwards them to another client etc.
And the server waits for commands from clients for it to process, but it is contantly trying to establish connections with listening clients? This is a bit confusing but never the less it should be exactly the same to send messages to the server. As when in listening mode when it recieves a connection that connection is then bound and can be treated the same as if you were connecting to a listening server. No? Chris
__________________
Who said i couldn't program sarcasm = raw_input('Type in a sarcastic remark: ')
|
|
|
|
|
|
#5 |
|
Newbie
Join Date: Apr 2008
Posts: 15
Rep Power: 0
![]() |
Re: reverse connection
Finally i solve.
server sourcecodes: C Syntax (Toggle Plain Text)
client source code: C Syntax (Toggle Plain Text)
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Need to figure out the best way to confirm a VNC connection... | diablo75 | Visual Basic .NET | 8 | Nov 4th, 2007 10:27 PM |
| SMTPlib - Connection reset by peer | Sane | Python | 2 | Jun 20th, 2006 5:40 PM |
| reverse string copy | codylee270 | C | 23 | Dec 3rd, 2005 8:41 PM |
| Connection Pooling | java_roshan | Other Web Development Languages | 2 | Nov 28th, 2005 3:24 PM |
| connection reset by peer / bad file descriptor | opcis | Perl | 0 | Feb 10th, 2005 3:29 AM |