We would like to build a community for Small Basic programmers of any age who like to code. Everyone from total beginner to guru is welcome. Click here to register and share your programming journey!


Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
TCP/IP Socket Programming
#21
Hello,  I have a problem with the LDClient.SendMessage()  Routine.  The last sign that is send by that routine is a 00  that is not part of the String i want to send. This causes  a problem at the server side, the server can not handle the next message anymore.


Attached Files Thumbnail(s)
   
Reply
#22
Hi Juergen,

The first thing to try is to set LDClient.AddNull property to "False" before sending the message.  This should prevent the terminating NULL \0 from being appended to the message.  This terminating NULL is used with the auto communication with LDServer, but in your case not needed I think.
Reply
#23
Sounds perfect, but i can not compile this , I get the Message see below..... 

Seems that this flag is not Part of my LDClient Library 

Is there a newer library ?


Attached Files Thumbnail(s)
   
Reply
#24
Hi, Yes it was introduced in version 1.2.30.8 sometime in August I think, I think I was prempting this possibility Smile from one of your earlier posts.

You can get this beta release using Extension manger with SB-Prime or directly as a download from https://litdev.uk/#Extensions (Beta download).
Reply


Forum Jump:


Users browsing this thread: