Back: Sockets.DatagramSocket-direct operations Up: Sockets package Forward: Sockets.DatagramSocketImpl class-parameters   Top: GNU Smalltalk Library Reference Contents: Table of Contents Index: Class index About: About this document

6.7 Sockets.DatagramSocketImpl

Defined in namespace Sockets
Superclass: Sockets.AbstractSocketImpl
Category: Sockets-Protocols

This abstract class serves as the parent class for datagram socket implementations.

6.7.1 Sockets.DatagramSocketImpl class: parameters  (class)
6.7.2 Sockets.DatagramSocketImpl: accessing  (instance)
6.7.3 Sockets.DatagramSocketImpl: C constants  (instance)
6.7.4 Sockets.DatagramSocketImpl: socket operations  (instance)


6.7.1 Sockets.DatagramSocketImpl class: parameters

datagramClass
Answer the datagram class returned by default by instances of this class.

socketType
Answer the socket type parameter for `create'.


6.7.2 Sockets.DatagramSocketImpl: accessing

bufferSize
Answer the size of the buffer in which datagrams are stored.

bufferSize: size
Set the size of the buffer in which datagrams are stored.


6.7.3 Sockets.DatagramSocketImpl: C constants

ipAddMembership
Not commented.

ipDropMembership
Not commented.

ipMulticastIf
Not commented.

ipMulticastTtl
Not commented.

msgPeek
Not commented.


6.7.4 Sockets.DatagramSocketImpl: socket operations

next
Retrieve a datagram from the receiver, answer a new object of the receiver's datagram class.

nextPut: aDatagram
Send aDatagram on the socket

peek
Peek for a datagram on the receiver, answer a new object of the receiver's datagram class.

peek: aDatagram
Peek for a datagram on the receiver, answer aDatagram modified to contain information on the newly received datagram.

receive: aDatagram
Retrieve a datagram from the receiver, answer aDatagram modified to contain information on the newly received datagram.

receive: flags datagram: aDatagram
Receive a new datagram into `datagram', with the given flags, and answer `datagram' itself; this is an abstract method. The flags can be zero to receive the datagram, or `self msgPeek' to only peek for it without removing it from the queue.

send: aDatagram to: theReceiver port: port
Send aDatagram on the socket to the given receiver and port



Back: Sockets.DatagramSocketImpl-C constants Up: Sockets.DatagramSocketImpl Forward: Sockets.DummyStream   Top: GNU Smalltalk Library Reference Contents: Table of Contents Index: Class index About: About this document


This document was generated on April, 16 2013 using texi2html