Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Search results for query: *

  1. groove69

    C code to find subnet mask

    Is there a way within Microsoft C++ to get the subnet mask of your local workstation??
  2. groove69

    C++ classes

    Does anyone know where to get the specs for predefined C++ classes?? (Like the Java API index that is on the java.sun.com website)
  3. groove69

    recvfrom function

    I have another question. What is the best way to determine which client disconnected from your server socket?? Not sure how this would be done.
  4. groove69

    recvfrom function

    Hi Jorgander, Yes it is true that you will get the remote address from the accept function. However, if I have 5 clients connect to one server port, how do I tell who is sending the server a message and who disconnected. Using the recv function, it only has the socket, buffer, and flags and...
  5. groove69

    recvfrom function

    WOW!!!!!!!!!!!!!!! Well I understood the way you explained it but Microsoft doesnt make it that obvious. THANKS A LOT!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
  6. groove69

    recvfrom function

    Hey Teriviret, I have a question for you. How exactly do you use the select statement?? I know it is suppose to tell you the status of your sockets. But if I have 3 remote clients connecting to one server socket and when I run the select to find out which socket to read, it(being the select...
  7. groove69

    recvfrom function

    Hey ArkM, YOU ARE THE GREATEST!!!!!!!!!!!!!!!!!!!!!!!!
  8. groove69

    recvfrom function

    The socket parameters are of SOCK_STREAM. But isnt there a way to determine where you are recieving data from with this socket parameter?? I would think recvfrom would tell you the ip address that sent you packets.
  9. groove69

    recvfrom function

    Hello All, The recvfrom function does not return the source address when using Microsoft Visual C/C++. I beleive I tried everything but nothing gives back a source address or a sockaddr*. Does anyone have any suggestions or samples of recvfrom working??

Part and Inventory Search

Back
Top