I agree that it should not be a copy of the object.
What I was looking for was a pointer to the BufferedTcpObject, which is what I have now. (I'll admit my C pointer knowledge is rusty, too much C# and Java coding the past few years and not enough C/C++)
I would have preferred being able to not ...
Search found 7 matches
- Fri Jun 03, 2011 5:13 am
- Forum: NetBurner Software
- Topic: BufferedTcpObject and OSTaskCreate()
- Replies: 8
- Views: 7146
- Wed Jun 01, 2011 7:15 am
- Forum: NetBurner Software
- Topic: BufferedTcpObject and OSTaskCreate()
- Replies: 8
- Views: 7146
Re: BufferedTcpObject and OSTaskCreate()
Tod, thanks for the clarification - my pointer knowledge is rusty when dealing with objects and I wasn't thinking about constructor/copy.
I was trying to pass the pointer to the object, realize now I was not.
I simplified the code slightly, now in the OSTaskCreate() pass '&tcp' rather than the &p ...
I was trying to pass the pointer to the object, realize now I was not.
I simplified the code slightly, now in the OSTaskCreate() pass '&tcp' rather than the &p ...
- Tue May 31, 2011 12:55 pm
- Forum: NetBurner Software
- Topic: BufferedTcpObject and OSTaskCreate()
- Replies: 8
- Views: 7146
BufferedTcpObject and OSTaskCreate()
Is it possible to pass a BufferedTcpObject as a parameter into OSTaskCreate()?
I'm trying to define the BufferedTcpObject in the UserMain and pass it to a UserTask() function.
Code is compiling, but it does not appear as if the object is passed properly (or perhaps my C++ is rusty and I'm not de ...
I'm trying to define the BufferedTcpObject in the UserMain and pass it to a UserTask() function.
Code is compiling, but it does not appear as if the object is passed properly (or perhaps my C++ is rusty and I'm not de ...
- Fri May 13, 2011 7:59 am
- Forum: NetBurner Software
- Topic: BufferedTcpObject Connect Timeout issue
- Replies: 3
- Views: 3531
BufferedTcpObject Connect Timeout issue
I'm trying to use the BufferedTcpObject with an SBL2e, but it appears that the timeout parameter on the Connect call does not work, instead the Connect call blocks forever - and even if the server shows up later, the connect never completes.
Any ideas?
static BYTE buffer[256];
BufferedTcpObject ...
Any ideas?
static BYTE buffer[256];
BufferedTcpObject ...
- Wed May 04, 2011 5:29 am
- Forum: NetBurner Software
- Topic: NDK 2.5.2?
- Replies: 8
- Views: 6765
Re: NDK 2.5.2?
I have located the SBL2e Network Programming Guide on the NetBurner website, hopefully this will provide the information I'm looking for.
Thanks!
Thanks!
- Wed May 04, 2011 4:18 am
- Forum: NetBurner Software
- Topic: NDK 2.5.2?
- Replies: 8
- Views: 6765
Re: NDK 2.5.2?
I should have provided a bit more details, this is for use with the SBL2e.
Perhaps I'm missing some documentation. I have reviewed the PDF documentation and all files provided. After finding the include files I made some progress using the BufferedTcpObject, but would really prefer to read through ...
Perhaps I'm missing some documentation. I have reviewed the PDF documentation and all files provided. After finding the include files I made some progress using the BufferedTcpObject, but would really prefer to read through ...
- Tue May 03, 2011 12:36 pm
- Forum: NetBurner Software
- Topic: NDK 2.5.2?
- Replies: 8
- Views: 6765
NDK 2.5.2?
Have the standard networking functions been removed from the 2.5.2 release?
I am getting errors in my code stating:
'connect' was not declared in this scope
'write' was not declared in this scope
All of the example appear to be using a BufferedTcpObject instead of the standard read/write calls ...
I am getting errors in my code stating:
'connect' was not declared in this scope
'write' was not declared in this scope
All of the example appear to be using a BufferedTcpObject instead of the standard read/write calls ...