Viewing Issue Simple Details Jump to Notes ] View Advanced ] Issue History ] Print ]
ID Category Severity Reproducibility Date Submitted Last Update
0001492 [SphereServer 0.56b] new feature request feature N/A 14-08-08 13:48 16-07-10 17:40
Reporter theBug View Status public  
Assigned To
Priority normal Resolution open  
Status new   Product Version PreRelease/Nightly
Summary 0001492: Adding SOCKET object.
Description A socket object would be great for SphereServer. It might be like file object.

Need a few commands, like:

socket.adress 127.0.0.1
socket.port 8896
socket.open
socket.senddata GIVE_ME_THE_ANSWER

sysmessage <socket.receivedata>

socket.close
Additional Information
Tags No tags attached.
Nightly Version Not Available
Experimental Flags None
Option Flags None
Attached Files

- Relationships

-  Notes
(0000063)
theBug (reporter)
14-08-08 13:52
edited on: 27-08-08 19:50

This part might be changed,

while !(<socket.receivedata>)
socket.receivedata
endwhile

sysmessage <socket.data>

---

socket.receivedata should return 1 if received a data, 0 if doesn't receive data.

Or this note might be useless at all. You know it better, can do it in the best way :p

(0000510)
trinax (reporter)
16-07-10 17:40

Better add an event handler to the socket object that will refer to a function.

- Issue History
Date Modified Username Field Change
14-08-08 13:48 theBug New Issue
14-08-08 13:48 theBug Nightly Version => Not Available
14-08-08 13:48 theBug Experimental Flags => None
14-08-08 13:48 theBug Option Flags => None
14-08-08 13:52 theBug Note Added: 0000063
27-08-08 19:50 theBug Note Edited: 0000063
16-07-10 17:40 trinax Note Added: 0000510


Copyright © 2000 - 2008 Mantis Group
Powered by Mantis Bugtracker