Namespace and socket errors?
- Posted by Mihail121 Feb 06, 2011
- 1153 views
Ok, this code:
socket connectionSocket = create(AF_INET, SOCK_STREAM*50, 0)
returns -38 and causes a type_check failure where it should return -1 according to documentation?
Also
include std/socket.e socket connectionSocket = sockets::create(AF_INET, SOCK_STREAM*50, 0)
gives an error <0032>:: an identifier is expected here
Am I doing something wrong?