Hallo zusammen,
ich versuche über die Gssocket.dll UDP-daten zu senden (jedenfalls will ich das mal...).
Als info liegt der dll folgendes bei:
_________________________________________________
Component Details:
*******************************************************************************************
OBJECT: GSSocket
INTERFACE: GSSocket.TCPSock
METHODS:
-------------------------------------------------------------------------------------------
Return Value Method Name Parameters Purpose
-------------------------------------------------------------------------------------------
String Connect strAddress, PortNum Connect to a listening socket.
String Send strBuffer Sends data in strBuffer.
String Recv none Returns any data received.
none Close none Closes the TCP connection.
INTERFACE: GSSocket.UDPSock
METHODS:
-------------------------------------------------------------------------------------------
Return Value Method Name Parameters Purpose
-------------------------------------------------------------------------------------------
String Send strAddr, PortNum, strBuffer Send UDP data.
String Recv strAddr, PortNum Returns any received UDP data.
__________________________________________________________________
Ich benutze nun folgenden Code:
#include "stdafx.h"
#include