You are not logged in.

Dear visitor, welcome to Jabaco - Community. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.

WS00

Beginner

  • "WS00" started this thread

Posts: 1

Date of registration: May 28th 2009

  • Send private message

1

Thursday, May 28th 2009, 6:33pm

UDP on winsocket

HI,
using winsocket i've made the experience only TCP mode is activce, does not matter if i switch to udp mode or not.
i need a connection-less mode and so i need UDP. I switch to udp, start the applet, but it works always in TCP mode.
I tried when the applet was running in UDP mode, sending message in UDP mode, but no reaction. Opening a telnet
request i can see in the 'ConnectionRequest' procedure that the request arrives and if i needed i could handle with
accept and so on.
Any idea, proposal or experience ?

thanks
WS

A1880

Intermediate

  • "A1880" is male

Posts: 500

Date of registration: Jan 1st 2009

Location: Hanover, Germany

Occupation: Software Engineer

Hobbies: Hilbert Curves

  • Send private message

2

Thursday, May 28th 2009, 9:56pm

No Winsock support for UDP yet

Hi,
looking through the source code of Winsock in the Jabaco framework, I've got the impression that UDP is envisaged but not implemented yet.
The underlying sockets are TCP sockets rather than DataGram sockets. The protocol is registered as property but nowhere actually used.

You might want to extend the Winsock implementation yourself and donate the resulting code to the community?

Good luck!

A1880

Rate this thread
WoltLab Burning Board