![]() |
Hello and Welcome from United States to the UNIX and Linux Forums! Thank You for Visiting and Joining Our Global Community.
|
|
google unix.com
|
|||||||
| Forums | Register | Forum Rules | Links | Albums | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| IP Networking Learn TCP/IP, Internet Protocol, Routing, Routers, Network protocols in this UNIX and Linux forum. |
More UNIX and Linux Forum Topics You Might Find Helpful
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| help with shell program | adgarg | Shell Programming and Scripting | 3 | 10-31-2007 06:54 AM |
| shell program | rameshparsa | Shell Programming and Scripting | 1 | 11-17-2005 01:18 PM |
| Shell Program | TexasGuy | High Level Programming | 3 | 03-12-2005 02:11 AM |
| Help me with this Shell Program | TRUEST | Shell Programming and Scripting | 1 | 04-08-2002 11:58 AM |
| shell program | nageshrc | UNIX for Advanced & Expert Users | 2 | 11-27-2001 12:32 PM |
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
|
|
|||||
|
UNIX/Linux shells usually do not have native support for socket programming (although bash and some versions of ksh do, mostly on Linux).
You could try to use netcat, as it can work both as a server and a client and supports piping to/from other programs/file descriptors. |
|
|||||
|
Never used it myself but I understand from the man page that ksh93 has built-in support
for direct socket access provided your platform supports sockets in the form /dev/tcp /hostid/portid and /dev/udp/hostid/portid where hostid is the dotted decimal number of the host and portid is the port the server is listening on. |
![]() |
| Bookmarks |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|