Jump to content
  • Sky
  • Blueberry
  • Slate
  • Blackcurrant
  • Watermelon
  • Strawberry
  • Orange
  • Banana
  • Apple
  • Emerald
  • Chocolate
  • Charcoal

Search the Community

Showing results for tags 'tcp'.

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


Forums

  • OpenComputers
    • Announcements
    • Feedback
    • IRC
  • Code Central
    • Support
    • Showcase
    • Tutorials
  • Addons & More
    • Addons Mods
    • Architectures
    • OpenEngineering Task Force
  • General
    • Lounge
    • Forum Games
    • Showcase
    • Servers
  • Archives
    • Public Archives

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


AIM


MSN


Website URL


ICQ


Yahoo


Jabber


Skype


Minecraft


GitHub


IRC


Fediverse ID


Location


Interests

Found 4 results

  1. Hi ! My project is te get my AE Inventory send to a SQL Database using a JAVA TCP server (because JAVA is the language I'm more familiar with). My issue is when I'm done sending my packet, my java program crash (I give you details below). I've tested with a JAVA TCP client and it work fine. My OC program is very basic. It's just to test my TCP server : local net = require("internet") local con = net.open("my ip",my port) if(con) then con:write("Hi ! I'm your OpenComputer ! \r\n") con:write("Test Sentence 2") con:close end This is my Class wich handle the input inf
  2. Hello everybody, I'm trying to connect my OC's computer to my tcp server with the first example here http://ocdoc.cil.li/api:internet local internet = require("internet") local handle = internet.open("example.com", 1337) local data = handle:read(10)------------------------- I REMOVED THIS LINE handle:write("1234") handle:close() , but my server don't receive the message. I tested with a "real" socket client, and my server is working well. Is the code shown in link is outdated or i'm missing something ? OC version: 1.7.1.1127-universal MC version: 1.7.10
  3. The Roboserver is a program which lets you control OpenComputers robots remotely, without writing any Lua code, either from your web browser or from a desktop application. You can have your robots dig tunnels, build houses, craft items, and just about anything else a player can do, from any distance! I've got many interesting ideas for how to improve it still, such as adding support for ComputerCraft turtles, allowing robots to save and place structure blueprints, and controlling them from AR glasses added by other mods. If you're as excited about this as I am, help me get there by b
  4. Congon4tor

    TCP Server

    Had some trouble getting a TCP connection between an OpenComputers program (client) and a java program (server), so I thought I could sare this. Here is the lua program: --VARIABLES local event = require("event") local net = require("internet") local term = require("term") local os = require("os") local running = true local con = net.open("192.168.1.100", 6667) --FUNCTIONS function sendString(s) con:write(s) print('Sending ' .. string.sub(s,1,s:len()-1) .. ' to server...') con:flush() end function reciveString() local s = con:read() print('Recived ' .. s .. '
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use and Privacy Policy.