07-30-2001
Sockets are not 'sent' ; sockets are data structures used by TCP/IP connections (at the two ends of the connection).
Yes, you can do TCP/IP over a serial connection !!
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
We're running SCO Unix Openserver 5.05 and I'm having trouble with serial communication between the com2 serial port and a handheld device. Downloading data from Unix to the handheld works perfectly, but the other way around creates a major problem. I don't know whether it's a buffer overflow or... (1 Reply)
Discussion started by: Aretha
1 Replies
2. Programming
Helo,
i have one serial device which consists of 30 com ports. after installing driver of this device,it will detects 30 com ports like /dev/ttys0,/dev/ttys1 ....../dev/ttys30.
now 30 com ports are connected with telephny model(each modem has com port).
now i want to establish commnucation b/w... (1 Reply)
Discussion started by: amitpansuria
1 Replies
3. UNIX for Dummies Questions & Answers
I need make serial data from virtual serial ports available on a TCP/IP network.
For communications with hardware COM ports to send and receive serial data over a local network or the Internet.
Example:
POSIX machine (/dev/ttyS0) <--- TCP/IP ---> Windows machine COM1
Please help! I try use... (0 Replies)
Discussion started by: steel98
0 Replies
4. Programming
I have a need to determine when a string has been completely sent via a serial port from a standard 'C' application. The code is as follows:
SerialPort_Send = open (pPortString, O_WRONLY | O_NOCTTY | O_NONBLOCK);
write (SerialPort_Send, pCommandString, strlen (pCommandString));
... (2 Replies)
Discussion started by: ExDes
2 Replies
5. Windows & DOS: Issues & Discussions
Hello all.
I have an old computer with M$-DOS 7. I want to use it like a dumb terminal, with telnet. I need to connect it to my desktop These are my questions:
How can i configure the serial port on dos?
How can i telnet form dos to the serial port?
How can i set up a telnet server on the... (12 Replies)
Discussion started by: mghis
12 Replies
6. Shell Programming and Scripting
Hi,
I have a external board connected to my serial port. I need to execute "shutdown -r now" command when system boot up. When system boots up it requires a username ans password. Then I need to run my command. I can use rc script but that is rebooting system before it asks for username and... (0 Replies)
Discussion started by: charlie.arya
0 Replies
7. Solaris
Hi Everyone,
In my environment, I have few T5220. On the iLOM Management Card, I have both Network and Serial port are cabled, I don't have any issues while I try to connect using Network Management port, but when I try to connect the serial port for the same server which is actually connected... (3 Replies)
Discussion started by: bobby320
3 Replies
8. Web Development
I am trying to write to a serial port and capture the reponse in a file -
adduser ethan dialout
The user `ethan' is already a member of `dialout'
root@meow:/home/ethan# ls -l /dev/ttyS0
crw-rw-r-- 1 ethan dialout 4, 64 Oct 7 20:55 /dev/ttyS0
$fh1 = fopen("/dev/ttyS0", "w+");... (74 Replies)
Discussion started by: Meow613
74 Replies
9. Web Development
I need to set a serial port to 9600 7E1. How do I accomplish this?
I've tried every combination, with no luck. (6 Replies)
Discussion started by: Meow613
6 Replies
10. Solaris
Hello,
I have an unloaded T5140 machine and want to access the ILOM for the first time and subsequently the network port after that., and then load Solaris 10 the final January 2011 build.
The first part is what confuses me -the cabling.
I am coming from a Windows machine (w/appropriate... (5 Replies)
Discussion started by: joboy
5 Replies
LEARN ABOUT DEBIAN
socket.h
socket.h(3) Library Functions Manual socket.h(3)
NAME
socket.h -
Network addresses and sockets related classes.
SYNOPSIS
#include <cc++/address.h>
Classes
class ost::Socket
The Socket is used as the base for all Internet protocol services under Common C++.
class ost::DCCPSocket
DCCP sockets are used for stream based connected sessions between two sockets.
class ost::UDPSocket
UDP sockets implement the TCP SOCK_DGRAM UDP protocol.
class ost::UDPBroadcast
Representing a UDP socket used for subnet broadcasts, this class provides an alternate binding and setPeer() capability for UDP
sockets.
class ost::UDPTransmit
Representing half of a two-way UDP connection, the UDP transmitter can broadcast data to another selected peer host or to an entire
subnet.
class ost::UDPReceive
Representing half of a two-way UDP connection, the UDP receiver can receive data from another peer host or subnet.
class ost::UDPDuplex
UDP duplex connections impliment a bi-directional point-to-point UDP session between two peer hosts.
class ost::TCPSocket
TCP sockets are used for stream based connected sessions between two sockets.
class ost::TCPV6Socket
TCPV6 sockets are used for stream based connected sessions between two ipv6 sockets.
class ost::TCPStream
TCP streams are used to represent TCP client connections to a server by TCP protocol servers for accepting client connections.
class ost::TCPSession
The TCP session is used to primarily to represent a client connection that can be managed on a separate thread.
class ost::SimpleTCPStream
Simple TCP Stream, to be used with Common C++ Library.
Namespaces
namespace ost
Macros
#define INVALID_SOCKET -1
#define _IOLEN64
#define _IORET64
#define MSG_DONTWAIT 0
#define MSG_NOSIGNAL 0
#define SOCK_DCCP 6
#define IPPROTO_DCCP 33
#define SOL_DCCP 269
#define DCCP_SOCKOPT_AVAILABLE_CCIDS 12
#define DCCP_SOCKOPT_CCID 13
#define DCCP_SOCKOPT_TX_CCID 14
#define DCCP_SOCKOPT_RX_CCID 15
Typedefs
typedef int SOCKET
Variables
class __EXPORT ost::SimpleTCPStream
Detailed Description
Network addresses and sockets related classes.
Macro Definition Documentation
#define _IOLEN64
Referenced by ost::SocketPort::peek(), ost::UDPSocket::peek(), ost::TCPStream::peek(), ost::SocketPort::receive(),
ost::UDPReceive::receive(), ost::SocketPort::send(), ost::UDPTransmit::send(), and ost::UDPTransmit::transmit().
#define _IORET64
#define DCCP_SOCKOPT_AVAILABLE_CCIDS 12
#define DCCP_SOCKOPT_CCID 13
#define DCCP_SOCKOPT_RX_CCID 15
#define DCCP_SOCKOPT_TX_CCID 14
#define INVALID_SOCKET -1
#define IPPROTO_DCCP 33
#define MSG_DONTWAIT 0
Referenced by ost::UDPTransmit::transmit().
#define MSG_NOSIGNAL 0
Referenced by ost::UDPTransmit::send(), and ost::UDPTransmit::transmit().
#define SOCK_DCCP 6
#define SOL_DCCP 269
Typedef Documentation
typedef int SOCKET
Author
Generated automatically by Doxygen for GNU CommonC++ from the source code.
GNU CommonC++ Sat Jun 23 2012 socket.h(3)