04-21-2010
A UNIX system probably won't let you open more than one TCP socket on the same port anyhow, the bind() call will fail. But you could just let the server decide what port to use, it'll auto-assign a port in the 32768-65535 range when you bind with port 0.
10 More Discussions You Might Find Interesting
1. IP Networking
I am trying to connect via DBACCESS and Informix server to a server on a different computer. When I execute the connect command from dbaccess I get the following message,
Exec format error cannot bind a name to the port.
As far as I know the port is not being used by another client.
How... (1 Reply)
Discussion started by: lopez
1 Replies
2. UNIX for Dummies Questions & Answers
Hi All, I suspect this is simple but I cannot find any info on it.
I have a logfile on a solaris box (EMS) that I want to tail -f but I want the output of this to be redirected to a TCP port.
I have a second solaris box (PEM) running patrol enterprise manager that I am using as an alarm... (1 Reply)
Discussion started by: mscomms
1 Replies
3. UNIX for Dummies Questions & Answers
Hi
Is there any way to restrict the TCP-IP port usage.
I want to restrict TCP-IP port 1500/1550 to the oracle osuser.
Tanks in advance.
Remi (2 Replies)
Discussion started by: remivisser
2 Replies
4. Solaris
Hi all
I haven't had much experience with Solaris 10 but we've started running into a problem where a process hangs, it is killed and leaves a zombie process. The sysadmins are saying this zombie process is locking a tcp port and not allowing the process to start up.
The process is a usually... (5 Replies)
Discussion started by: casphar
5 Replies
5. UNIX for Dummies Questions & Answers
Hello, I have a service running (ODBC) and every now and then it will hang and I will have to stop and restart the service. The problem is when I stop the service, it indeed stops the service, but netstat reports a tcp port still open with the fin_wait_2 status. Then I must close the client... (1 Reply)
Discussion started by: raidzero
1 Replies
6. Programming
Does anyone know if there is a C API call to get the status of a TCP port? As opposed to running netstat and parsing the results. At the moment I have to attempt to bind() and pick up on the address in use error which isn't very elegant
Thanks
---------- Post updated at 10:42 AM ----------... (0 Replies)
Discussion started by: janra
0 Replies
7. IP Networking
Hello all,
I am loosing the diameter connection between two servers and when the connection is trying to comes up again i see the following message in the tracer.
and after 1 second the connection resets.
As far i know the connection stay in state TIME_WAIT for a while(60 seconds in my... (1 Reply)
Discussion started by: @dagio
1 Replies
8. Programming
Hello,
I'm trying to write a small c application to test a tcp port. This works fine for the most part but the default timeout on the connect is very long. I have been reading many posts but and it looks like I need to set the socket to be non-blocking and poll for a result. I have been totally... (2 Replies)
Discussion started by: tjones1105
2 Replies
9. IP Networking
i want to kill a tcp connection by killing its pid
with netstat -an i got the tcp ip connection on port 5914
but when i type ps -a or ps-e there is not such process running on port 5914
is it possible that because i do not log on with proper user account i can not see that process running? (30 Replies)
Discussion started by: alinamadchian
30 Replies
10. Linux
Hi all,
I am currently working with SIP protocol.
I have a node that is supposed to accept SIP invite. It should be listening on udp port 35060 but is not.
Every 2.0s: netstat -an| grep 5060 ... (1 Reply)
Discussion started by: Junaid Subhani
1 Replies
LEARN ABOUT DEBIAN
bubbros-client
bubbros-client(6) Games Manual bubbros-client(6)
NAME
bubbros-client - the bub-n-bros client
SYNOPSIS
bubbros-client [ options ] [host[:port]]
DESCRIPTION
This is the bub-n-bros client that connects to bub-n-bros servers started with bubbros-server(6) or bubbros(6). It supports many different
audio and video drivers and is very multi-platform.
OPTIONS
host Search for a game on the given machine, and connect to one if found. If this is not defined, search for servers on the local net-
work.
host:port
Connect to server running on given port on given host. If this is not defined, search for servers on the local network.
--bits=N
This option concerns only the windows audio driver. Set bits per sample. Valid values are 8 and 16 (default).
-d DRIVER, --display=DRIVER
Use video driver DRIVER. Valid drivers are:
X X Window driver for Linux and Unix systems with an X server running. See the --shm option.
windows
MS Windows driver.
pygame PyGame gaming library for python (if installed) has video output. Use it if this is specified. See http://www.pygame.org and
the --transparency option.
gtk Use the PyGTK library (if installed). See http://www.pygtk.org/ and the --zoom option.
-h, --help
Display help.
--fmt=format
This option concerns only the linux audio driver. Set the sound data format. Defaults to S16_NE. You can get a list of supported
formats with --fmt=list.
--freq=N
This option concerns only the linux and windows audio drivers. Set mixing frequency to N (in Hz). Defaults to 44100.
-m, --metaserver
Connect with the help of the Metaserver (see bubbros-server(1) for more info). Run bubbros-client -m to print a table of currently
running servers, pick the the exact IP address and port of the server of your choice from the table, and run again bubbros-client -m
host:port.
--port TCP=port
In conjunction with the -m option, force a specific port on which to listen for an incoming TCP connexion from the remote server.
This is only used if a direct connexion to the server fails. A random port number is picked by default. This option is useful if
you are behind a firewall but can let TCP connexions on specific ports reach you.
--port UDP=port
Force a specific port on which to listen for incoming UDP traffic (animation data). Useful if you are behind a firewall but can let
UDP traffic on a given port pass through. This is optional: animation data is routed over the TCP link if it does not appear to
reach the client. A random port number is picked by default.
-s DRIVER, --sound=DRIVER
Use driver DRIVER for audio. Valid drivers are:
pygame Use the audio capabilities of the PyGame library (http://www.pygame.org).
linux Use the linux audio mixer. See the --freq and --fmt options.
windows
Use the Windows audio mixer. See the --freq and --bitsoptions.
off No sounds.
--shm=yes, --shm=no
This option concerns only the X display driver. Disable or enable the shm (Shared Memory) extension. It is enabled by default and
should only be disabled for remote X connections and old X servers.
-t Use the TCP protocol. The default is to autodetect the protocol. See the -u option.
--transparency=yes, --transparency=no
This option concerns only the pygame display driver. Disable or enable transparent bubbles. Enabled by default. Disabling makes game
a bit faster.
-u Use the UDP protocol. The default is to autodetect the protocol. See the -t option.
--zoom=N%
This option concerns only the gtk display driver. Scale output by N%.
SEE ALSO
bubbros(6) bubbros-server(6)
December 7, 2007 bubbros-client(6)