Welcome, Guest
Username Password: Remember me

GSTNet_SendString results in "Invalid arguments in GSTNet_StartClient"
(1 viewing) (1) Guest
  • Page:
  • 1

TOPIC: GSTNet_SendString results in "Invalid arguments in GSTNet_StartClient"

1 month, 2 weeks ago GSTNet_SendString results in "Invalid arguments in GSTNet_StartClient" #191

  • Memnarch
  • OFFLINE
  • Fresh Boarder
  • Posts: 18
  • Karma: 0
Hi,
Whenever i try to send a string from the server to the clients, i get an error(on the client):

"Invalid arguments in GSTNet_StartClient"

Have no clue why, cause the given function has absolutely nothing todo with strings/pointers.(its the predefined function from the header)

EDIT: at least i got a workaround to work with GSTNet_ServerSend


Greets
Memnarch
Last Edit: 1 month, 2 weeks ago By Memnarch.

1 month, 2 weeks ago Re: GSTNet_SendString results in "Invalid arguments in GSTNet_StartClient" #193

  • admin
  • OFFLINE
  • Administrator
  • Posts: 27
  • Karma: 0
please postsome code of your sendstring part.
Start with GSTNet_Debug(100) and -diag and post your acklog.txt too.

1 month, 2 weeks ago Re: GSTNet_SendString results in "Invalid arguments in GSTNet_StartClient" #195

  • Memnarch
  • OFFLINE
  • Fresh Boarder
  • Posts: 18
  • Karma: 0
Here it is.
Oh and dont get confused.
temp_str is not a temporary string. Its defined global and used like result for temporary operations.

and thats the sendfunction (executet on_t)

function testsend()
{
str_cpy(temp_str,"hallo");
GSTNet_SendString(0,_str("temp_str"));
}

GReets
Memnarch

File Attachment:

File Name: serverside.txt
File Size: 9905
Attachments:
Last Edit: 1 month, 2 weeks ago By Memnarch.

2 weeks, 3 days ago [Fixed] GSTNet_SendString results in "Invalid arguments in GSTNet_StartClient" #197

  • admin
  • OFFLINE
  • Administrator
  • Posts: 27
  • Karma: 0
fixed in 0.7.8 thanks to TechMuc
Download
  • Page:
  • 1
Time to create page: 0.33 seconds
© 2008 GSTools | Joomla 1.5 Templates by vonfio.de