Article View: borland.public.cppbuilder.nativeapi
Article #16441Sending Message over a network
From: Muhammad Momin Rashid
Date: Tue, 13 May 2003 13:32
Date: Tue, 13 May 2003 13:32
22 lines
1653 bytes
1653 bytes
Hi everyone
I am trying to send a message to a networked machine (such as sent by net
send). I have come across NetMessageBufferSend function, which I've tried
without much success. The function is defined as follows
NET_API_STATUS NetMessageBufferSend(
LPTSTR servername,
LPTSTR msgname,
LPTSTR fromname,
LPBYTE buf,
DWORD buflen
);
When I tried sending a message to the same machine, a string of question
marks "????" was sent instead of the actual message. Whereas it fails
completly while sending a message to a network machine.
Any help would be highly appreciated.
Regards,
Muhammad Momin Rashid.
Technical Details
Message-ID:
<3ec0f3fb@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-06!sn-xit-08!supernews.com!pln-e!extra.newsguy.com!lotsanews.com!news.maxwell.syr.edu!out.nntp.be!propagator2-sterling!news-in.nuthinbutnews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailShow Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10cc67,372ba4ad7a699fb7,start X-Google-Attributes: gid10cc67,public X-Google-ArrivalTime: 2003-05-13 06:40:56 PST From: "Muhammad Momin Rashid" <momin@hotmail.com> Newsgroups: borland.public.cppbuilder.nativeapi Subject: Sending Message over a network Date: Tue, 13 May 2003 18:32:52 +0500 Lines: 24 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 NNTP-Posting-Host: 202.163.125.53 Message-ID: <3ec0f3fb@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1052832763 202.163.125.53 (13 May 2003 06:32:43 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-03!sn-xit-01!sn-xit-06!sn-xit-08!supernews.com!pln-e!extra.newsguy.com!lotsanews.com!news.maxwell.syr.edu!out.nntp.be!propagator2-sterling!news-in.nuthinbutnews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail