SWK3 Socket programming