-
- Downloads
Begin socket handling: core functionalities are available
On provides a way to create - server socket (listening to a given port) - accept connections - client socket that can connect to an host:port these three functionalities are the only ones accessible from pugs' language On the other hand, reading and writing are provided by low level calls. On can exchange values or arrays of values (pointers+size). It remains unclear if we should allow transfer of higher level objects, since socket exchanges should be generally used between different codes?
parent
0fd84c10
No related branches found
No related tags found
Showing
- src/language/modules/CMakeLists.txt 1 addition, 0 deletionssrc/language/modules/CMakeLists.txt
- src/language/modules/ModuleRepository.cpp 2 additions, 0 deletionssrc/language/modules/ModuleRepository.cpp
- src/language/modules/SocketModule.cpp 43 additions, 0 deletionssrc/language/modules/SocketModule.cpp
- src/language/modules/SocketModule.hpp 28 additions, 0 deletionssrc/language/modules/SocketModule.hpp
- src/utils/CMakeLists.txt 2 additions, 1 deletionsrc/utils/CMakeLists.txt
- src/utils/Socket.cpp 177 additions, 0 deletionssrc/utils/Socket.cpp
- src/utils/Socket.hpp 79 additions, 0 deletionssrc/utils/Socket.hpp
src/language/modules/SocketModule.cpp
0 → 100644
src/language/modules/SocketModule.hpp
0 → 100644
src/utils/Socket.cpp
0 → 100644
src/utils/Socket.hpp
0 → 100644
Please register or sign in to comment