binarytom

About

Username
binarytom
Joined
Visits
8
Last Active
Roles
Member
Points
11
Badges
2

Activity

  • termi_80

    hello,
    sorry if i disturb you but i still have a stupid problem with websocket even if i set app_id my application doesn't open web socket i try to develop in c# and vb.net
    Thanks a lot

    this is my code:

    Imports WebSocket4Net
    Imports System.Text

    Imports System.Threading

    Module Module1
    Private websocket As WebSocket4Net.WebSocket
    Sub Main()

        websocket = New WebSocket4Net.WebSocket("wss://ws.binaryws.com/websockets/v3?app_id=10789")
        AddHandler WebSocket.Opened, Sub(s, e) socketOpened(s, e)
        AddHandler WebSocket.Error, Sub(s, e) socketError(s, e)
        AddHandler WebSocket.Closed, Sub(s, e) socketClosed(s, e)
        AddHandler WebSocket.MessageReceived, Sub(s, e) socketMessage(s, e)
        AddHandler WebSocket.DataReceived, Sub(s, e) socketDataReceived(s, e)
    
        websocket.Open()
        Console.WriteLine(websocket.State)
    
    
    
    
    End Sub
    
    Sub socketOpened(s As Object, e As EventArgs)
        websocket.Send("{""ticks_history"":""R_50"",""end
    
    September 22
  • binarytom earned the First Anniversary badge.
    Thanks for sticking with us for a full year.
    September 19
  • binarytom earned the First Comment badge.
    Commenting is the best way to get involved. Jump in the fray!
    August 28