Search found 43 matches
- Wed Jul 28, 2010 5:40 am
- Forum: Coding Questions
- Topic: ZeroMQ - Lightweight messaging
- Replies: 5
- Views: 2446
- Thu Jul 15, 2010 7:23 am
- Forum: Coding Questions
- Topic: ZeroMQ - Lightweight messaging
- Replies: 5
- Views: 2446
Re: ZeroMQ - Lightweight messaging
into Purebasic please
- Wed Jul 14, 2010 2:14 am
- Forum: Coding Questions
- Topic: ZeroMQ - Lightweight messaging
- Replies: 5
- Views: 2446
Re: ZeroMQ - Lightweight messaging
Thank you that looks good. A simple client to test it below. (if someone could translate pls)
Server and dll downloaded at http://www.coastrd.com/download
http://www.coastrd.com/zeromq-messaging/basic-zmq-client
FUNCTION SendMessageZmq( sConnection AS STRING ) AS LONG
LOCAL i, RetVal, MsgSz AS ...
Server and dll downloaded at http://www.coastrd.com/download
http://www.coastrd.com/zeromq-messaging/basic-zmq-client
FUNCTION SendMessageZmq( sConnection AS STRING ) AS LONG
LOCAL i, RetVal, MsgSz AS ...
- Tue Jul 13, 2010 9:57 am
- Forum: Coding Questions
- Topic: ZeroMQ - Lightweight messaging
- Replies: 5
- Views: 2446
ZeroMQ - Lightweight messaging
IF anyone has in interest in lightweight messaging, check out ZeroMQ
http://www.coastrd.com/zeromq-messaging
http://www.coastrd.com/zeromq-messaging
- Fri Apr 30, 2010 1:26 am
- Forum: Tricks 'n' Tips
- Topic: SSL\TLS Client\Server lib based on Cryptlib Encryption Toolk
- Replies: 21
- Views: 17930
Re: SSL\TLS Client\Server lib based on Cryptlib Encryption T
>Can this be used to implement https support in atomic web server?
Web servers present a whole array of problems that need sophisticated solutions because to be of any use beyond a personal amusement, they must scale. Handling multiple requests simultaneously puts the whole server in one of two ...
Web servers present a whole array of problems that need sophisticated solutions because to be of any use beyond a personal amusement, they must scale. Handling multiple requests simultaneously puts the whole server in one of two ...
- Thu Apr 29, 2010 3:28 am
- Forum: Tricks 'n' Tips
- Topic: SSL\TLS Client\Server lib based on Cryptlib Encryption Toolk
- Replies: 21
- Views: 17930
Re: SSL\TLS Client\Server lib based on Cryptlib Encryption T
Nice work.
I have update the downloads with some cryptlib examples in C++/purebasic/powerbasic
http://www.coastrd.com/download
Dont forget to checkout the SChannel code.
http://www.coastrd.com/tls-with-schannel
This provides native SSL support on windows platforms using the API. That could save ...
I have update the downloads with some cryptlib examples in C++/purebasic/powerbasic
http://www.coastrd.com/download
Dont forget to checkout the SChannel code.
http://www.coastrd.com/tls-with-schannel
This provides native SSL support on windows platforms using the API. That could save ...
- Fri Dec 11, 2009 10:38 pm
- Forum: Coding Questions
- Topic: SMTPS - sending emails via gmail using SSL/TLS
- Replies: 33
- Views: 19459
Re: SMTPS - sending emails via gmail using SSL/TLS
>Again, these functions should not be used - prefer prototypes
http://www.purebasic.com/documentation/reference/prototypes.html
The prototype still needs a type for the arguments no?
DeviceOpen.l = cryptDeviceOpen( pDevice, cryptUser, deviceType, @zName )
or
DeviceOpen.l = cryptDeviceOpen ...
http://www.purebasic.com/documentation/reference/prototypes.html
The prototype still needs a type for the arguments no?
DeviceOpen.l = cryptDeviceOpen( pDevice, cryptUser, deviceType, @zName )
or
DeviceOpen.l = cryptDeviceOpen ...
- Fri Dec 11, 2009 12:45 am
- Forum: Coding Questions
- Topic: SMTPS - sending emails via gmail using SSL/TLS
- Replies: 33
- Views: 19459
Re: SMTPS - sending emails via gmail using SSL/TLS
is there a #DEF for the new version so that one header file can contain both function definitions:
#IF DEF(VER440)
CallFunctionFast(*cryptDeviceOpen, pDevice.l, cryptUser.l, deviceType.l, @zName.s)
#ELSE
ProcedureReturn CallFunctionFast(*cryptDeviceOpen, pDevice.l, cryptUser.l, deviceType.l ...
#IF DEF(VER440)
CallFunctionFast(*cryptDeviceOpen, pDevice.l, cryptUser.l, deviceType.l, @zName.s)
#ELSE
ProcedureReturn CallFunctionFast(*cryptDeviceOpen, pDevice.l, cryptUser.l, deviceType.l ...
- Thu Dec 10, 2009 12:00 pm
- Forum: Coding Questions
- Topic: SMTPS - sending emails via gmail using SSL/TLS
- Replies: 33
- Views: 19459
Re: SMTPS - sending emails via gmail using SSL/TLS
Can you give me a breif overview of what is different between these versions please?
- Tue Dec 08, 2009 8:21 pm
- Forum: Coding Questions
- Topic: SMTPS - sending emails via gmail using SSL/TLS
- Replies: 33
- Views: 19459
Re: SMTPS - sending emails via gmail using SSL/TLS
You're welcome. Its a tricky problem that I spent some time researching solutions too. I should mention that socket tools www.catalyst.com have an excellent suite of tools for SMTP/HTTP and a lot more. Mike Stefanik, the developer, has supported BASIC for many years. They used to sell the tools as a ...
- Tue Dec 08, 2009 10:56 am
- Forum: Coding Questions
- Topic: SMTPS - sending emails via gmail using SSL/TLS
- Replies: 33
- Views: 19459
Re: SMTPS - sending emails via gmail using SSL/TLS
Hi Bart,
You had the CR LF pair switched so the gmail server was not able to parse the "AUTH LOGIN " command and hence returned error
502 5.5.1 Unrecognized command.
I had to cut the header down to the bare minimum because there is a 600 line limit on the demo version, and then I decided to ...
You had the CR LF pair switched so the gmail server was not able to parse the "AUTH LOGIN " command and hence returned error
502 5.5.1 Unrecognized command.
I had to cut the header down to the bare minimum because there is a 600 line limit on the demo version, and then I decided to ...
- Tue Dec 08, 2009 12:43 am
- Forum: Coding Questions
- Topic: SMTPS - sending emails via gmail using SSL/TLS
- Replies: 33
- Views: 19459
Re: SMTPS - sending emails via gmail using SSL/TLS
Hi Uncle,
Yes I thought the same thing at first, but in fact data enveloping is NOT required.
My email address is on the website, please send me your code and I will see if I can compile, run and test it with the free purebasic compiler I have.
If you have got a response to EHLO you are VERY VERY ...
Yes I thought the same thing at first, but in fact data enveloping is NOT required.
My email address is on the website, please send me your code and I will see if I can compile, run and test it with the free purebasic compiler I have.
If you have got a response to EHLO you are VERY VERY ...
- Sat Dec 05, 2009 10:15 am
- Forum: Coding Questions
- Topic: SMTPS - sending emails via gmail using SSL/TLS
- Replies: 33
- Views: 19459
Re: SMTPS - sending emails via gmail using SSL/TLS
You are very close.
Check that you left a space on the end of "AUTH LOGIN ", that it is not getting trimmed off
Send the command by itself and wait for the response as detailed here:
http://www.coastrd.com/smtps
Check you mime code with a free online encoder.
(The username and password are the ...
Check that you left a space on the end of "AUTH LOGIN ", that it is not getting trimmed off
Send the command by itself and wait for the response as detailed here:
http://www.coastrd.com/smtps
Check you mime code with a free online encoder.
(The username and password are the ...
- Wed Dec 02, 2009 6:30 pm
- Forum: Off Topic
- Topic: Freedom of speech
- Replies: 5
- Views: 1318
Freedom of speech
Fred, I am not sure why you have locked the thread:
"I want to learn a Basic dialect (the whole picture)"
http://forums.purebasic.com/english/viewtopic.php?f=17&t=40027
AS far as I can see it does not violate the rules you have enumerated:
Off Topic Rules:
No flame wars
No religious posts
No ...
"I want to learn a Basic dialect (the whole picture)"
http://forums.purebasic.com/english/viewtopic.php?f=17&t=40027
AS far as I can see it does not violate the rules you have enumerated:
Off Topic Rules:
No flame wars
No religious posts
No ...
- Wed Nov 25, 2009 9:44 pm
- Forum: Coding Questions
- Topic: SMTPS - sending emails via gmail using SSL/TLS
- Replies: 33
- Views: 19459
Re: SMTPS - sending emails via gmail using SSL/TLS
Ah great. Yes there is a .lib file for the project. I will need to include it with the source
So then I can use
Import "cl32.dll"
RetVal = cryptCreateSession( *hSess, CRYPT_UNUSED, CRYPT_SESSION_SSL )
.
.
.
This is all the remains to be translated ...
So then I can use
Import "cl32.dll"
RetVal = cryptCreateSession( *hSess, CRYPT_UNUSED, CRYPT_SESSION_SSL )
.
.
.
This is all the remains to be translated ...