| | |
Multi sockets in C
Please support our C advertiser: Programming Forums - DaniWeb Sister Site
![]() |
•
•
Join Date: Jul 2008
Posts: 30
Reputation:
Solved Threads: 0
Hello everyone,
I don't know what is the exact name to call this, so I call based on what I want to do in my program. Its operation got something similar to chat server and client.
I have server and client application. Firstly, when one client connects to server and request a file from database, server then will check the database, to see whether any client who has the requested file is online. If he is online, server will send IP address of both clients to each other, and connection between them establish.
I can create connection between server and client, but don't know whether can establish another connection between client and client in the same program or not. Using socket, if can, what do I need to use?
I don't know what is the exact name to call this, so I call based on what I want to do in my program. Its operation got something similar to chat server and client.
I have server and client application. Firstly, when one client connects to server and request a file from database, server then will check the database, to see whether any client who has the requested file is online. If he is online, server will send IP address of both clients to each other, and connection between them establish.
I can create connection between server and client, but don't know whether can establish another connection between client and client in the same program or not. Using socket, if can, what do I need to use?
![]() |
Similar Threads
- Starting " C " (C)
- Winsock Multi-Client Servers (C++)
- Sockets, slots - processors (Windows NT / 2000 / XP)
- Create Socket server and client? (C++)
- UDP File Transfer Question (Java)
- Help with multithread server (C)
- Multi-user program issues (VB.NET)
- Multi-threading with C++.NET (C++)
- Can't remove "about:blank" homepage. Please help. (Viruses, Spyware and other Nasties)
Other Threads in the C Forum
- Previous Thread: sortied list
- Next Thread: Reverse a string
| Thread Tools | Search this Thread |
Tag cloud for C
#include adobe ansi array arrays asterisks binarysearch calculate centimeter changingto char convert copyimagefile cprogramme creafecopyofanytypeoffileinc database directory dynamic fflush file fork forloop framework getlasterror givemetehcodez grade graphics gtkgcurlcompiling hacking hardware highest histogram inches include incrementoperators input iso kernel km lazy linked linkedlist linux linuxsegmentationfault list lists locate logical_drives looping loopinsideloop. lowest match matrix microsoft motherboard multi mysql number opendocumentformat opensource owf pattern pdf performance pointer posix problem probleminc process program programming radix recursion recv repetition research reversing scanf scripting segmentationfault sequential shape socket socketprograming spoonfeeding standard string strings structures systemcall testing threads turboc unix user variable voidmain() wab windows.h windowsapi






