如何通过套接字从并行端口发送数据? [英] how to send data from parallel port through sockets??

查看:69
本文介绍了如何通过套接字从并行端口发送数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大家好!

我需要从并行端口获取数据,然后通过以byte []作为参数的socket.send将其发送到其他计算机.现在如何将并行端口数据转换为字节格式??:confused:

hey all!!

i need to take data from parallel port and then send it to other machine through socket.send which takes byte[] as argument. now how do i convert parallel port data into byte format??:confused:

help kindly

推荐答案

首先如何从并行端口获取数据?我希望您正在使用的任何库都应该已经提供了此字节功能.
How are you even getting data FROM the parallel port in the first place? I would expect that whatever library you''re using should already provide this byte functionality.


这篇关于如何通过套接字从并行端口发送数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆