WIC64 development in C

There are 40 replies in this Thread which has previously been viewed 1,421 times. The latest Post (November 20, 2025 at 11:53 PM) was by SM7I.

  • YES !!! Finally I have complete C code for WIC64. Only took me the better part of the night.........

    Mind to share? :)

    Sure, I will just clean it up and then it will be uploaded to my GitHub. I´ll post here when uploaded.

  • YES !!! Finally I have complete C code for WIC64. Only took me the better part of the night.........

    Mind to share? :)

    Sure, I will just clean it up and then it will be uploaded to my GitHub. I´ll post here when uploaded.

    Nice, Thanks!

  • YES !!! Finally I have complete C code for WIC64. Only took me the better part of the night.........

    Sounds great! - communication examples of my XC-Basic video were helpful for testing the new C library?

  • YES !!! Finally I have complete C code for WIC64. Only took me the better part of the night.........

    Sounds great! - communication examples of my XC-Basic video were helpful for testing the new C library?

    Absolutely crucial to my success.

  • Are there any plans on expanding the feature list of WIC64 to include server side functions like opening and listening on a socket on a specific TCP or UDP port and receive a byte stream ?

  • Are there any plans on expanding the feature list of WIC64 to include server side functions like opening and listening on a socket on a specific TCP or UDP port and receive a byte stream ?

    TCP Stream works.

    Goodwell
    November 11, 2025 at 7:50 AM


    UDP not, afaik.

    Wer seinen Benutzernamen in Gelb geschrieben haben möchte, kann entweder das Forum finanziell unterstützen, oder hinter das Iglu gehn und seinen Namen in den Schnee schreiben

  • Are there any plans on expanding the feature list of WIC64 to include server side functions like opening and listening on a socket on a specific TCP or UDP port and receive a byte stream ?

    you can connect to a tcp socket an get a byte stream and you can send and recieve udp packages

  • Are there any plans on expanding the feature list of WIC64 to include server side functions like opening and listening on a socket on a specific TCP or UDP port and receive a byte stream ?

    you can connect to a tcp socket an get a byte stream and you can send and recieve udp packages

    Saw this in the docs but I trust you more. is there docs on how to do it?

    Code
    UDP commands
    0x0a, 0x0b, 0x0e, 0x1e, 0x1f
    The UPD commands have always been marked as "work in progress" and have never been used by any programms as far as we are aware of. We may implement UDP support in the future, should the need arise.

    Wer seinen Benutzernamen in Gelb geschrieben haben möchte, kann entweder das Forum finanziell unterstützen, oder hinter das Iglu gehn und seinen Namen in den Schnee schreiben

    Edited once, last by Goodwell (November 14, 2025 at 4:07 PM).

  • Are there any plans on expanding the feature list of WIC64 to include server side functions like opening and listening on a socket on a specific TCP or UDP port and receive a byte stream ?

    you can connect to a tcp socket an get a byte stream and you can send and recieve udp packages

    I was more thinking the other way around. Can you open a server socket on the WIC64 and listen to a port, but it seems today the WIC64 can only act as client and connect to a port.

  • If you like you can grab the WIC64-CC65 package from my GutHub space. Please test, comment and give me suggestions and so on.

    Please login to see this link.

  • Are there any plans on expanding the feature list of WIC64 to include server side functions like opening and listening on a socket on a specific TCP or UDP port and receive a byte stream ?

    you can connect to a tcp socket an get a byte stream and you can send and recieve udp packages

    I was more thinking the other way around. Can you open a server socket on the WIC64 and listen to a port, but it seems today the WIC64 can only act as client and connect to a port.

    nope, thats not possible atm, i imagine you'd have a hard time keeping track of multiple connections anyway?

  • Are there any plans on expanding the feature list of WIC64 to include server side functions like opening and listening on a socket on a specific TCP or UDP port and receive a byte stream ?

    you can connect to a tcp socket an get a byte stream and you can send and recieve udp packages

    I was more thinking the other way around. Can you open a server socket on the WIC64 and listen to a port, but it seems today the WIC64 can only act as client and connect to a port.

    nope, thats not possible atm, i imagine you'd have a hard time keeping track of multiple connections anyway?

    It´s just that some of the software I want to port works in server mode. Maybe I should have a look at the WIC64 firmwre and see what is possible to expand ?

  • Are there any plans on expanding the feature list of WIC64 to include server side functions like opening and listening on a socket on a specific TCP or UDP port and receive a byte stream ?

    you can connect to a tcp socket an get a byte stream and you can send and recieve udp packages

    I was more thinking the other way around. Can you open a server socket on the WIC64 and listen to a port, but it seems today the WIC64 can only act as client and connect to a port.

    nope, thats not possible atm, i imagine you'd have a hard time keeping track of multiple connections anyway?

    It´s just that some of the software I want to port works in server mode. Maybe I should have a look at the WIC64 firmwre and see what is possible to expand ?

    i don't know what you want to port, maybe a server part would be neneficial, so that clients don't have to hassle with portforwarding and GCNAT?

  • Yes, I’ll have a look at the firmware tonight.

  • Even if using the Wic64 as a server turns out to be too difficult, being able to have multiple connections open as a client might still come in handy.
    For example when printing over TCP RAW on port 9100. A second connection to telnet would allow for querying printer status information, etc (for those printers and printservers that support this)

    Printing over TCP works, I did that here: Please login to see this link.

    Wer seinen Benutzernamen in Gelb geschrieben haben möchte, kann entweder das Forum finanziell unterstützen, oder hinter das Iglu gehn und seinen Namen in den Schnee schreiben

  • The WIC64 firmware utilizes Arduino Wifi library, but focuses on the client side of things using WiFiClient code.

    I’ve been looking briefly at both the firmware and the Arduino library. I could look at enhancing the firmware by making use of the WiFiServer code if desired.