Page 1 of 1

[Implemented] UDP

Posted: Tue Jan 27, 2004 12:55 pm
by Iria
While I'm here :) I might as well ask for a decent cross platform set of UDP commands to complement the TCP ones already provided (Clearly without any connect commands :o )

It would also be nice to have multiple port listening so I can have one application listening on more than one local port.

From a syntax point of view it may be as simple as changing NetworkServerEvent to specify a port to catch events on:

Code: Select all

CreateNetworkServer(DataPort)
CreateNetworkServer(CmdPort)

DataPortEvents = NetworkServerEvent(DataPort)
CommandPortEvents = NetworkServerEvent(CmdPort)
Some nice to haves on the networking front would be some RFC 792 ICMP commands like 'PING'

Just some more suggestions :)

Posted: Tue Jan 27, 2004 1:39 pm
by Kale

Posted: Tue Jan 27, 2004 1:42 pm
by Danilo
@Kale:
Supported OS: Windows

Linux, ahem LINUX :)

Posted: Tue Jan 27, 2004 2:45 pm
by Iria
Not wanting to harp on about this, but PB has a small number of killer 'Unique Selling Points' for me:

Cross Platform
Basic Syntax
Flexability in working with standard Libraries

The more time I spend actually writting cross platform code the more I realise how Windows centric PB is, its endemic, even following the recent Linux upgrade to 3.81 its still a poor cousin to the windows version, from the product to the external PureBasic libraries. To the lack of a Linux Visual Designer or even a KDE/Gnome editor! (I use Vim btw)

Dont get me wrong its still very usable for linux in its current form, (Read Linux 3.81 version).

The issues I typically face are the lack of community support for PB Linux, specifically in cross platform PureLibrary publication but also simple stuff like the PB documentation, for example, treegadget in the PB documentation is a Windows only gadgets (Ahem...its not) my point is I would like to see future enhancements consider the Linux side because I see it as one of the biggest assets PB can offer.

So thank you for the Windows API pointers for a UDP library. If someone could write that for Linux and then work there way through the rest of the community public PureBasic Libraries I'd shut up :)

Regards