10-08-2009
Well, the network test takes place before specifying the port number. Its the sybtli command in Sybase that is used to test the device /dev/inet/tcp.
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi,
Im programming a perl script which will act as a daemon listening on a tcp port (2323) and will take (<stdin>) from the client (im going to use telnet) and run the arguments from (<stdin>) against an program already on the server, which is used to list books in the library at uni.
So far... (1 Reply)
Discussion started by: emcb
1 Replies
2. IP Networking
I am trying to set up TCP/IP printing to so we can remove the old novel server. The printer details have been added to the etc/hosts file correctly, and the printer added as a remote UNIX printer . However when a print job is issued lpstat -o displays the job, but it dosent move. Any help yould... (2 Replies)
Discussion started by: eel_king
2 Replies
3. UNIX for Dummies Questions & Answers
Hello all,
Can someone instruct me on how to change the listening port for ftp ( or any tcp service) from 21 to another port number? Thanks in advance..
-AJ (3 Replies)
Discussion started by: jacobsa
3 Replies
4. Filesystems, Disks and Memory
Hi everyone i have a question for all of you. It may be basic or it may be a good one. I recently aquired a copy of "SCO TCP/IP runtime System for SCO Unix" (thats what the disks say) and for the life of me i can not get it to load. i have tried opening the disk in linux and it can not determine... (0 Replies)
Discussion started by: Cerberus
0 Replies
5. Programming
hello everyone. I tried searching for something related to this, but I figured it was time to ask my own question. I am experiencing these problems using Ubuntu 7.04
I am starting up a TCP listener/server and once connected, will act as a communication/control link with a program on another... (3 Replies)
Discussion started by: pjwhite
3 Replies
6. Solaris
Solaris 10 server (SunOS 5.10 Generic_137137_09)
I have a services file configured in /etc in there windows clients connect to my server on port 6034-6037
when I do the following
netstat | grep TestServices
it pulls all the connections active for those ports
so right now I have 10 clients... (3 Replies)
Discussion started by: deaconf19
3 Replies
7. Solaris
Following command was set up in startup script on Solaris 8 servers - improved network transfers of files from one server to the another (doubled transfer speed).
ndd -set /dev/tcp tcp_host_param '10.140.20.10 sendspace 279600 recvspace 279600 timestamp 1'
Now they are getting a new server... (15 Replies)
Discussion started by: RTM
15 Replies
8. SCO
Hi every body.
I am looking for TCP package under sco unix 3.2 or sco xenix system.
would you please help me? (7 Replies)
Discussion started by: javad1_maroofi
7 Replies
9. SCO
Hello!
I tried to install an old version of SCO for test purposes, (3.2v4.0y), all fine,
but my TCP/IP disks are "unreadable" and I cant find them on the internetz.
Also, SCO doesnt respond to my request....is there any source for those images
available? I have license/activation key which... (5 Replies)
Discussion started by: doc_holiday
5 Replies
10. Shell Programming and Scripting
I have a command to check the status of hostname and port number,
echo > /dev/tcp/hostname/80
echo $?
0
success case
echo > /dev/tcp/hostname/809999
I got the output
-------------------
connection timed out
It took almost 4 minutes to time out,,, how can I set it to 10 seconds?
my... (2 Replies)
Discussion started by: sam@sam
2 Replies
SET_NET_DEFAULT(8) System Manager's Manual SET_NET_DEFAULT(8)
NAME
s_n_d, set_net_default - select the default TCP/IP network
SYNOPSIS
set_net_default: not found
DESCRIPTION
This manual page is here because so many others refer to it. The set_net_default command does not exist under standard Minix, because the
TCP/IP server only supports one network. The server under Minix-vmd supports four different networks, that can each be chosen as the
default network.
The TCP/IP library and commands do have a notion about a "default network" however, because the code is shared between the Minix versions.
So if you want to venture into network programming then you should know about the devices and environment variables mentioned below to make
your program compatible. (Especially since there is a plan to upgrade the TCP/IP server for standard Minix.)
Options and environment to change the default
Many TCP/IP programs implement the following options and environment variables to change the default devices set by set_net_default. The
options are only implemented for low level programs where it makes sense to name a network device. The environment variables are used in
all code. You can run a process and all its children connected to a different network by setting four environment variables.
ETH_DEVICE=device
-E device
Device to use as raw ethernet device instead of the default /dev/eth.
PSIP_DEVICE=device
-P device
Pseudo IP device to use instead of /dev/psip.
IP_DEVICE=device
-I device
IP device to use instead of /dev/ip.
TCP_DEVICE=device
-T device
TCP device to use.
UDP_DEVICE=device
-U device
UDP device to use.
FILES
/dev/eth[01] First and second raw ethernet.
/dev/psip[01] First and second Pseudo IP network.
/dev/ip[0123] IP devices for two ethernets and two Pseudo IP networks.
/dev/tcp[0123] TCP devices for same four networks.
/dev/udp[0123] UDP devices.
/dev/eth, /dev/psip, /dev/ip, /dev/tcp, /dev/udp
Devices for the default network, links to the devices above. Eth is only present if ethernet is the default, psip only
for pseudo IP.
SEE ALSO
ip(4), boot(8).
AUTHOR
Kees J. Bot (kjb@cs.vu.nl)
SET_NET_DEFAULT(8)