11-04-2009
UDP server on Solaris 9
So I am attempting to implement a UDP server on an older Solaris 9 box; the server will be handling packets at a rate of about 12/sec and will be constructing acknowledgment messages on the fly.
I've found snippets of sample code here and there on the net... should I be writing this from scratch or is there some kind of service (a couple people have mentioned inetd) that I should be basing this on?
Point me in the right direction... please?
Thanks!
9 More Discussions You Might Find Interesting
1. IP Networking
Just like concurrent tcp server, anyone know how to design the concurrent udp server with the thread? it's best to give some basic examples,thanks (0 Replies)
Discussion started by: Frank2004
0 Replies
2. Programming
Hi,
Am very new to socket programming.
When we use UDP sockets to communicate between two processess,
will both the client/server socket be able to send/recv ?
meaning can sendto()/ recvfrom() be used on both server and client?
It could be useful even if anybody provide some link on socket... (1 Reply)
Discussion started by: rvan
1 Replies
3. UNIX for Advanced & Expert Users
HI
I want to create a UDP concurrent server
can any one give the code for UDP concurrent server (8 Replies)
Discussion started by: chanikya
8 Replies
4. Programming
Hello,
I would like to ask you for a help. I need to program in C print server which is based on connectionless protocol UDP. The problem is that I am not experienced in programming network applications, I can help myself with some other answered questions on this forum about network apps in C,... (1 Reply)
Discussion started by: samciz
1 Replies
5. UNIX for Dummies Questions & Answers
Hi,
My network dep. telles me that they have opened the FW but my application still can not get through to other server. If it was TCP I could simply test it myself with "telnet", but how can I check it when the connection is UDP?
Tnx (1 Reply)
Discussion started by: mehrdad68
1 Replies
6. IP Networking
Hello !
I seem to have the same problem as in https://www.unix.com/ip-networking/91203-inaddr_any-opposite.html#post302262417
But I can't find a solution.
I have a UDP server socket bound to 0.0.0.0. The server hosts the addresses IP1, IP2 and IP3. I get an incoming request to IP1. I use... (1 Reply)
Discussion started by: steinwej
1 Replies
7. Programming
Hi,
I have a situation where i need to communicate a linux client with a windows server, I am using a UDP socket communication channel. I am able to send packets from my linux clients to the windows server but unable to receive any data packet from the server. Do i need to make any setting in... (0 Replies)
Discussion started by: John20
0 Replies
8. IP Networking
Hifriends
I have a doubt .
how to create a multi-chat server using UDP which can run on MAC systems..
Thank u in advance (3 Replies)
Discussion started by: babbu25
3 Replies
9. Programming
Hello,
I have a question: I want to create a n client to one server connection. This is the client-server algorithm.
Enybody help to make the changes? (0 Replies)
Discussion started by: MaHmur
0 Replies
LEARN ABOUT DEBIAN
xtelld
XTELLD(8) System Manager's Manual XTELLD(8)
NAME
xtelld - daemon receiving messages from xtell(1) clients
SYNOPSIS
xtelld [options]
DESCRIPTION
xtelld is daemon receiving messages from the xtell(1) client and displaying them to apropriate user.
OPTIONS
--help Short help
--alone
Force server to run standalone
--inetd
Force server to act as service of inetd
--version
Print version information and exit.
-sX Lifetime for spawned services (in seconds) ex: -s25 maintain connections for up to 25 seconds
-mX Spawn no more than X children services at a time ex: -m15 service no more than 15 requests at once. Note: ignored if inetd service
-pX Use port X, default: 4224
-n Do not lookup addresses, use IP numbers instead
USAGE
Xtell daemon can run either from inetd(preferred) or from command line. If you decide to start it from inetd, add this line to /etc/ser-
vices :
xtell 4224/tcp # xtell server
and this line to /etc/inetd.conf :
xtell stream tcp nowait nobody.tty /usr/sbin/tcpd /usr/local/sbin/xtelld
Notice that the entries are separated by tabs, not spaces. Restart inetd with killall -HUP inetd
What to do if you are a normal user and want to run xtell daemon:
You can't run it from inetd, obviously. Just start ./xtelld to use xtell on default port (4224). In this case, xtell can write messages
only to you. If there is another user on that system willing to get messages, either s/he starts xtelld on another port (e.g. ./xtelld
-p4225), or makes his/her tty writable by you (e.g. chmod a+rw /dev/tty* /dev/pts/*)
AUTHOR
Radovan Garabik (garabik@fmph.uniba.sk)
SEE ALSO
xtell(1), write(1), talk(1), talkd(8), tty(1)
XTELLD(8)