socket time_wait problem

This is a discussion on socket time_wait problem within the Linux Programming forums, part of the Platform Specific Boards category; Hi, I'm using sockets for communication. Everything works fine but when i use netstat on server, There are many connections ...

  1. #1
    Registered User
    Join Date
    Jul 2009
    Posts
    61

    socket time_wait problem

    Hi,

    I'm using sockets for communication. Everything works fine but when i use netstat on server,
    There are many connections with "TIME_WAIT" state and are increasing! I shutdown and close the sockets on both client and server, so what's wrong?
    Client is windows and server is linux.
    Any idea?

    Thanks b4

  2. #2
    Registered User
    Join Date
    Jul 2009
    Posts
    61
    long time and no answer! Is this forum alive?!!!

  3. #3
    and the hat of wrongness Salem's Avatar
    Join Date
    Aug 2001
    Location
    The edge of the known universe
    Posts
    32,434
    No, we just ignore cross-posters
    TIME_WAIT problem
    If you dance barefoot on the broken glass of undefined behaviour, you've got to expect the occasional cut.
    If at first you don't succeed, try writing your phone number on the exam paper.
    I support http://www.ukip.org/ as the first necessary step to a free Europe.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. socket problem
    By mynickmynick in forum Networking/Device Communication
    Replies: 3
    Last Post: 06-17-2010, 01:32 AM
  2. Non-blocking socket connection problem
    By cbalu in forum Linux Programming
    Replies: 25
    Last Post: 06-03-2009, 02:15 AM
  3. socket message sending and receiving problem
    By black in forum C Programming
    Replies: 5
    Last Post: 01-15-2007, 03:46 AM
  4. sockets problem programming
    By kavejska in forum C Programming
    Replies: 0
    Last Post: 07-25-2005, 07:01 AM
  5. Client/Server Socket Receive Problem
    By mariabair in forum Networking/Device Communication
    Replies: 6
    Last Post: 12-25-2003, 09:01 AM

Tags for this Thread


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21