Re: client & server (socket) running on same machine, tcpdump can't dumpout any packet info, how?



GS wrote:

> Here I have two clients, only one client can get the response the other
> one is not getting the response, Do I have to do any modification to my
> server incase if it wants to communicate two simultaneous clients?.
> Both are using same port number. Only one client (first started one)
> get the response always, the second clients never gets any response.
>
> ,/server (server)
>
> ./clien1 <ip-addr-of-serv> (first client)
>
> ./clie2 <ip-addr-of-sock> (second cli)
>
> Thanks.
>
>
>
>
>
> David Schwartz wrote:
>> "GS" <globalswamy@xxxxxxxxxxx> wrote in message
>> news:1134006762.673787.282760@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
>>
>> >I configured on both sides port as 15000, I pasted code below,
>>
>> That doesn't really show much, but I'm assuming you configured the
>> server side to listen on 15000 and the client side to send to 15000. That
>> still leaves the client to decide what port to receive on, which will be
>> the port the server will have to send to.
>>
>> > this
>> > port 32806 is picked by system itself, Is that is not user
>> > configurable?. I mean system can pickup any port?. Here it picked 32806
>> > like that it can use any port right?. Is there anyway I can configure
>> > receiving on server port?. (can I replce 32806 with any other port
>> > number I like)?. Thanks.
>>
>> Yes, you can 'bind' in the client. But it's usually a bad idea.
>>
>> DS
>
IIRC there is a second ID type number for IP connection right after the port
number used to identify alternate clients from the same IP address. Don't
remember how to use it though.
--
JosephKK

.



Relevant Pages

  • Re: interfaces lo:1 lo:2 lo:3? (for remote ssh tunnels)
    ... That's the problem tunneling (port forwarding) solves. ... >>can't get past the client firewall. ... > I don't understand why the server would be making the ... server initiates another connection to the client -- in this ...
    (Debian-User)
  • Re: Remote Connection Issue
    ... through port number 3389 and a workstation on the LAN through port number ... I understand that you want to allow a LAN client ... and you have configured server publishing rule ... > By default Terminal Server and Windows 2000 Terminal Services uses TCP ...
    (microsoft.public.windows.server.sbs)
  • Re: RealVNC
    ... Default listening port for RealVNC server that runs on the machine on which ... Then there is default Java listening port on port 5800 on the client machine ...
    (microsoft.public.windows.server.sbs)
  • Re: Redirecting data sent to a local printer to another host and port on the network
    ... All client workstations have access to the ... simply redirecting netcat traffic on port 9100 to port 515 on ... Only LPR clients talk to LPD print server daemons. ... >workstation at the branch site where the print job originated. ...
    (comp.unix.sco.misc)
  • Re: ssh through vista connection sharing not working, NEW INFO: 802.1q headers from vista
    ... The ssh client is a linux laptop. ... connection with wireshark, and I see the response from the ssh server, ... Connection sharing is turned on in the Vista. ...
    (comp.os.linux.networking)