NetTalk Central

Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Messages - Rakesh

Pages: [1]
1
The Rest - Ask For Help / Re: Duplicate Label Warnings
« on: April 15, 2022, 08:38:18 AM »
Hi Bruce,

Here's some additional information - I'm in the process of swapping out SV Comm templates that I was using for Emails with NetTalk. In one of the APPs, I have both extensions present, thus this winsock.inc got included by SV Extension. I hope once I completely remove SV comm extensions, this dup error should go away. Since this is a just a "warning" message per say, its not a critical blocker.

-Rakesh

2
The Rest - Ask For Help / Duplicate Label Warnings
« on: April 13, 2022, 12:27:10 PM »
Hello -

I'm using Nettalk 12.35 in a multi DLL project. In when compiling a on of the DLL, I'm getting hundred's of duplicate warning for these EQUATES

SO_DEBUG                EQUATE(01h)             ! turn on debugging info recording
SO_ACCEPTCONN           EQUATE(02h)             ! socket has had listen()
SO_REUSEADDR            EQUATE(04h)             ! allow local address reuse
SO_KEEPALIVE            EQUATE(08h)             ! keep connections alive
SO_DONTROUTE            EQUATE(010h)            ! just use interface addresses
SO_BROADCAST            EQUATE(020h)            ! permit sending of broadcast msgs
SO_USELOOPBACK          EQUATE(040h)            ! bypass hardware when possible
SO_LINGER               EQUATE(080h)            ! linger on close if data present
SO_OOBINLINE            EQUATE(0100h)           ! leave received OOB data in line

These are part of NetAll.inc and WINSOCK.INC (sv). Any suggestion how to avoid these?

(Error detail image attached)

Thanks,
-Rakesh




3
Web Server - Ask For Help / NetWebClient - Handcoded Example
« on: April 09, 2022, 10:26:04 AM »
Hello -

I'm trying to call a procedure and will be passing API Token. The called procedure is hardcoded procedure and will return GET response. Is is possible to use these methods in a local hardcoded procedure. Does anyone have any basic example to share?

Need to call/use this in hardcoded procedure.

!Local Data Classes
ThisWebClient        CLASS(NetWebClient)                   ! Generated by NetTalk Extension (Class Definition)
ErrorTrap              PROCEDURE(string errorStr,string functionName),DERIVED
PageReceived           PROCEDURE(),DERIVED
                     END

Alternately, when using Nettalk Template/Extension in Windows Procedure, which Nettalk embed should I use for POST(EVENT:CloseWindow) when GET or POST request is fully completed.

Thanks,
-Rakesh

Pages: [1]