Menu

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.

Show posts Menu

Messages - Chris

#1
Sorry for the late reply... curl would probably do it for me.  :)
Just some way of doing standard protocols, nothing super low level is needed.

Thanks.
C.
#2
Any Chance SSL could be added?  I bought GLBASIC some time ago, and its languished unused... This single feature would mean I would definitely use it.
#3
Quote from: aonyn on 2010-Sep-09
@ trucidare,

I have looked at the developer folder on my mac, where xcode is installed, and also the compiler folder for glbasic, but I am not entirely clear what I need to put where.
I have some guesses, but I am not entirely clear, and was wondering if I could please request a bit of help getting started using the iphone api.


Did you get an answer for where to take the headers and libs and frameworks from and where to put them to?

I may need to do something similar.
#4
For anyone who's interested.

I used wireshark to sniff the packets, and it looks like SOCK_TCPCONNECT does NOT do any kind of SSL handling.  It just treats the port 443 as it would do for any other port.

If I needed to write a game that had secure TCP communication how would I go about doing this?

I would be grateful if anyone has any ideas.
#5
I'm trying to connect to a SOAP endpoint with SSL

    server$ = "api.betfair.com/global/v3/BFGlobalService"
    port%=443

    SOCK_INIT()

    sock% = SOCK_TCPCONNECT(server$, port%)

Everytime I try I get a -1 returned after about 5 seconds (which I guess is the timeout).

Any ideas?

Am I going about this the wrong way?

Thinking about this a little more...

What I think I need is the counterpart to NETWEBGET
Something like a NETWEBSET  (which doesn't exist in GLBASIC.... yet)

NETWEBSET("https://api.betfair.com/global/v3/BFGlobalService", 443,  "myxml")

Is there any equivalent, or am I going to have to do something "fruity" in C?

Thanks for any help in this... (hoping).