MasterScan  Lab_Matlab_control Master Branch
List of all members | Methods
dotsSocketMexUDP Class Reference

Overview

Implement socket behavior using the mexUDP mex function, which is a part of Snow Dots.

Inheritance diagram for dotsSocketMexUDP:
Inheritance graph
[legend]

Methods

id open (self, localIP, localPort, remoteIP, remotePort)
 Open a BSD-style socket with mexUDP().
 
status close (self, id)
 Close the given BSD-style socket with mexUDP().
 
status closeAll (self)
 Close all mexUDP() sockets.
 
hasData check (self, id, timeoutSecs)
 Check whether the given mexUDP() socket is ready to read, using BSD select(). More...
 
data readBytes (self, id)
 Read the next available packet from the given mexUDP() socket.
 
status writeBytes (self, id, data)
 Write a packet to the given mexUDP() socket.
 

Additional Inherited Members

- Properties and Events inherited from dotsAllSocketObjects
null id = open(self, localIP, localPort, remoteIP, remotePort)
 Open a new socket and return an identifier for it. More...
 
null status = close(self, id)
 Close an open socket. More...
 
null hasData = check(self, id, timeoutSecs)
 Check whether a socket has a packet to read. More...
 
null data = readBytes(self, id)
 Read byte data from a socket. More...
 

Methods

◆ check()

hasData check ( self  ,
id  ,
timeoutSecs   
)

Check whether the given mexUDP() socket is ready to read, using BSD select().


The documentation for this class was generated from the following file: