Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. hello,

hello,

Scheduled Pinned Locked Moved C / C++ / MFC
c++sysadminjsonhelp
7 Posts 4 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • W Offline
    W Offline
    With_problem
    wrote on last edited by
    #1

    :((hello, I dont know whether u will haelp me or not......But my expectation r with u ...... I have to make connection with server which is based on london and i am working with vc++ new to this.... I have company Api with me.... I tried to take help with other friend also but luck is not good.U are my last hope.... to make connection this is a function : I need the code to write here: void CServertryDlg::OnConnectedToServerArielapictrl1(LPCTSTR SessionId) { // TODO: Add your control notification handler code here } Pls. if u can help me to make connection i am really thankful to you. priyanka api/vc++

    K W 2 Replies Last reply
    0
    • W With_problem

      :((hello, I dont know whether u will haelp me or not......But my expectation r with u ...... I have to make connection with server which is based on london and i am working with vc++ new to this.... I have company Api with me.... I tried to take help with other friend also but luck is not good.U are my last hope.... to make connection this is a function : I need the code to write here: void CServertryDlg::OnConnectedToServerArielapictrl1(LPCTSTR SessionId) { // TODO: Add your control notification handler code here } Pls. if u can help me to make connection i am really thankful to you. priyanka api/vc++

      K Offline
      K Offline
      KellyR
      wrote on last edited by
      #2

      What type of connection do you need (TCP or UDP)? Are you supposed to be initiating the connection, or are you already connected at this point (since the function is called OnConnectedToServer) and you have to write some code to handle the connection? A little more info about what exactly you need to do would allow us to answer your question much more effectively. Kelly Ryan

      1 Reply Last reply
      0
      • W With_problem

        :((hello, I dont know whether u will haelp me or not......But my expectation r with u ...... I have to make connection with server which is based on london and i am working with vc++ new to this.... I have company Api with me.... I tried to take help with other friend also but luck is not good.U are my last hope.... to make connection this is a function : I need the code to write here: void CServertryDlg::OnConnectedToServerArielapictrl1(LPCTSTR SessionId) { // TODO: Add your control notification handler code here } Pls. if u can help me to make connection i am really thankful to you. priyanka api/vc++

        W Offline
        W Offline
        With_problem
        wrote on last edited by
        #3

        //need to make tcp connection //atleast code for these to start void CServertryDlg::OnConnectedToServerArielapictrl1(LPCTSTR SessionId) { // TODO: Add your control notification handler code here } void CServertryDlg::OnLoginArielapictrl1(LPCTSTR SessionId, short Accepted, LPCTSTR FailureMessage) { // TODO: Add your control notification handler code here } void CServertryDlg::OnAccountListArielapictrl1(LPCTSTR SessionId, LPCTSTR RequestId, LPCTSTR Name, short TradePermissions) { // TODO: Add your control notification handler code here }

        E 1 Reply Last reply
        0
        • W With_problem

          //need to make tcp connection //atleast code for these to start void CServertryDlg::OnConnectedToServerArielapictrl1(LPCTSTR SessionId) { // TODO: Add your control notification handler code here } void CServertryDlg::OnLoginArielapictrl1(LPCTSTR SessionId, short Accepted, LPCTSTR FailureMessage) { // TODO: Add your control notification handler code here } void CServertryDlg::OnAccountListArielapictrl1(LPCTSTR SessionId, LPCTSTR RequestId, LPCTSTR Name, short TradePermissions) { // TODO: Add your control notification handler code here }

          E Offline
          E Offline
          earl
          wrote on last edited by
          #4

          google sockets API and windows. Plenty of sample code. earl

          W 1 Reply Last reply
          0
          • E earl

            google sockets API and windows. Plenty of sample code. earl

            W Offline
            W Offline
            With_problem
            wrote on last edited by
            #5

            i already but lots of confusion::doh:

            D E 2 Replies Last reply
            0
            • W With_problem

              i already but lots of confusion::doh:

              D Offline
              D Offline
              Dreamz
              wrote on last edited by
              #6

              Just try something yourself, post your doubts when you get stuck somewhere. Then all can help you better. Good Luck...

              1 Reply Last reply
              0
              • W With_problem

                i already but lots of confusion::doh:

                E Offline
                E Offline
                earl
                wrote on last edited by
                #7

                (1) kindly stop spamming the forums -- you've posted a nearly identical post at least 4 times (2) do some work yourself. Here[^] is but one of many pages. Go read it, compile the sample programs, make them run, then write some code. earl

                1 Reply Last reply
                0
                Reply
                • Reply as topic
                Log in to reply
                • Oldest to Newest
                • Newest to Oldest
                • Most Votes


                • Login

                • Don't have an account? Register

                • Login or register to search.
                • First post
                  Last post
                0
                • Categories
                • Recent
                • Tags
                • Popular
                • World
                • Users
                • Groups