Re: [riot-devel] Socket #0

2017-03-19 Thread Sam Kumar
Hello, I finally got around to porting my implementation to use sock instead of conn. I am running into a similar issue now. It seems this check is still in sock (see https://github.com/RIOT-OS/RIOT/blame/master/sys/posix/sockets/posix_sockets.c#L237 ). I think that the check should be: assert(0

Re: [riot-devel] Socket #0

2017-01-12 Thread Martine Lenders
Hi Sam, 2017-01-12 14:06 GMT+01:00 Sam Kumar : > Hi Martine, > I will work on testing it with sock and PR #6004, but it may take some > time since I might need to port the interface from conn to sock. > It seems to me that conn is deprecated and that sock is its replacement

Re: [riot-devel] Socket #0

2017-01-12 Thread Sam Kumar
Hi Martine, I will work on testing it with sock and PR #6004, but it may take some time since I might need to port the interface from conn to sock. It seems to me that conn is deprecated and that sock is its replacement moving forward. Am I correct? And what is the motivation for moving away from

Re: [riot-devel] Socket #0

2017-01-12 Thread Martine Lenders
Hi Sam, can you try with PR #6004 which ports POSIX sockets from conn to sock? There are still some kinks in this PR, but I plan to fix them until the release. On another note: the conn implementation of sockets was never tested with TCP (since there was no TCP implementation then), but feel free