Uploaded image for project: 'Core ReactOS'
  1. Core ReactOS
  2. CORE-18205

VBAm can't show itself as server for multiplayer.

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Trivial
    • None
    • None

    Description

      Software tested: VBAm that have the source code in Github. A partial connect code is inside this: https://github.com/visualboyadvance-m/visualboyadvance-m/blob/972f1513108f9922f6923262f534daf6361dd11d/src/wx/guiinit.cpp

      Listing its API from the api monitor:
      API
      socket ( AF_INET, SOCK_DGRAM, IPPROTO_IP )
      ntohl ( 2130706433 )
      htonl ( 16777343 )
      htons ( 9 )
      connect ( 516, 0x0022e1d4, 16 )
      getsockname ( 516, 0x0022e1d4, 0x0022e1d0 )
      closesocket ( 516 )
      ntohl ( 251789322 )
      htonl ( 167772687 )
      inet_ntoa ( { S_un = { S_un_b =

      { s_b1 = 10, s_b2 = 0, s_b3 = 2 ...}

      , S_un_w =

      { s_w1 = 10, s_w2 = 3842 }

      , S_addr = 251789322 } } )
      socket ( AF_INET, SOCK_STREAM, IPPROTO_IP )
      ioctlsocket ( 516, FIONBIO, 0x0022e150 )
      setsockopt ( 516, IPPROTO_TCP, TCP_NODELAY, 0x0022e190, 4 )
      ntohl ( 0 )
      htonl ( 0 )
      htons ( 5738 )
      bind ( 516, 0x0022e1d4, 16 )
      listen ( 516, 0 )
      select ( 1, 0x062728bc, NULL, NULL, 0x0022e13c )

      ReactOS ver: ReactOS 0.4.15-dev-4636-gca51f00
      Arch: 32 bits

      Description: It's impossible to the software to show itself as the real IP, instead of 0.0.0.0.

      Steps to reproduce the issue:
      1. Install ReactOS and open VBAm.
      2. Go to Options->Link->Type->(set)Cable
      3. Go to Options->Link->Start Network Link
      4. Set the option of Server. And click Start!. Will be forever in 0.0.0.0, instead of adquiring the IP.

      Debug log:
      VBA-Network.log have standard report, [^VBA-Networking 2.log] have the debugchannel all activated just starting the process.

      Attachments

        Activity

          People

            Unassigned Unassigned
            julenuri julenuri
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated: