I have seen another program provide traceroute functionality within it but without needing root (superuser) privileges? I've always assumed that raw sockets need to be root, but is there some other way? (I think somebody mentioned "supertrace" or "tracepath"?) Thanks!
...
I'm working on a .NET WinForms app that needs to print a FEDEX shipping label. As part of the FedEx api, I can get raw label data for the printer.
I just don't know how to send that data to the printer through .NET (I'm using C#). To be clear, the data is already pre formatted into ZPL (Zebra printer language) I just need to send it...
It would be good to compile a new inventory here of Delphi FOSS components that are very useful, also with rare and difficult to find functionality and still maintained for the latest Delphi versions. Examples of rare components are for instance "TWAIN" scanning components, raw printing etc. Your comments added will make for a very valua...
In .NET is it possible to convert a raw HTTP request to HTTPWebRequest object?
I'm sure .NET internally doing it. Any idea which part of the .NET is actually handling this? Can I call it or is there any external library which allows raw HTTP connections?
...
Is there any way to send ARP packet on Windows without the use of another library such as winpcap?
I have heard that Windows XP SP2 blocks raw ethernet sockets, but I have also heard that raw sockets are only blocked for administrators. Any clarification here?
...
serial.write() method in pyserial seems to only send string data. I have arrays like [0xc0,0x04,0x00] and want to be able to send/receive them via the serial port? Are there any separate methods for raw I/O?
I think I might need to change the arrays to ['\xc0','\x04','\x00'], still, null character might pose a problem.
...
We're writing a .NET-based app to read images including RAW files. Is there a good library we can use? Perhaps a wrapper around dcraw or libraw? License-wise, LGPL is fine but GPL wouldn't be.
...
When datagram-based socket (raw socket or UDP) is used with gather-style send, all the data are concatenated to form a single IP packet. Is there a way to send several datagrams using a single call?
...
I am looking to spoof UDP packets using Java. Are there any good Java libraries out there that allow you to create your own RAW SOCKETS?
Sorry, forgot the Java stuff.
...
Can please someone one explain how to deal with out-of-order packets. I'm using raw socket to capture packets, and parse them as they come, but some of them come in wrong order, for example:
Id...........Flags
16390 : (PSH, ACK)
16535 : (PSH, ACK)
16638 : (ACK)
16640 : (PSH, ACK)
16639 : (ACK)
16695 : (PSH, ACK)
Packets with IDs: ...
Hi All,
We are currently testing a Telecom application over IP. We open a Raw Socket and receives messages from the remote side (msgrate@750+msgs/second approx size of 180 bytes excluding IP).
On top of the Raw socket sits a layer called SCTP (just like TCP) which is indicating every now and then that it is missing some packets. Now, w...
I have an implementation which uses ioctl(FIONREAD) to determine the number of pending octets in the Raw Socket receive buffer in Linux and then call a recv on that.
I read somewhere that the ioctl interface for raw sockets in Linux does not actually return the actual pending octets. Is this correct?
I am asking because I am loosing s...
Hi guys,
I have these files with the extension ".adc". They are simply raw data files. I can open them with Audacity using File->Import->Raw data with encoding "Signed 16 bit" and sample rate "16000 Khz".
I would like to do the same with python. I think that audioop module is what I need, but I can't seem to find examples on how to us...
We currently use Nanoptix Paychex3 ticket printers on a fairly large project. We use a DLL provided by the manufacturer to send the print raw data directly to the printer, which works pretty well, but we have found that the usb port communication drops from time to time (as often as every 10 prints) and need to find a solution.
They ha...
Greetings,
I'm looking for a little SQL to QUERY (with NOLOCK, of course) from the raw SharePoint SQL Content DBs to produce a list of users, objects and their assigned permissions.
I have done other "raw" queries without problems.... for a list of all users enrolled within a site ... but I'm stuck on how to determine WHAT OBJECTS (Web...
Hey all. I'm reading from one sql-format file to another, and two bytes in the middle are being corrupted, and I assume it's some preparation or safeguard that I didn't do.
Example of corrupted data:
//From the file that is read from. added ** to emphasize the corrupted byte
insert into viruses (virusSig,virusHash) values (
X'579fdc56...
If I have a Stack class
class Stack<E> {}
now if I do:
1) Stack<Integer> s = new Stack()
2) Stack s = new Stack<Integer>()
3) Stack s = new Stack()
can anyone explain me what these interactions (generic<->raw) causes?
Mainly my doubt is on point 1. In fact if I do that the assignment it's unsafe because that stack can store type...
I have a few reports of people seeing raw html in their browser (instead of their browser interpreting it). It seems to be happen on slow connections. When this happens, if the user reloads the page, the page is interpreted correctly. Are there any html specific things that would cause this to happen (as opposed to server settings)?
...
I have a website where a user can upload images for a real estate property.
The table structure:
image_id
property_id
userid
filename
thumbfilename
display_order
timestamp
The scenario:
When a user uploads multiple pictures, he / she SHOULD be able to set the primary photo from their uploaded images for the specified property.
Th...
How do you write binary data to a file? I want to write floats to a file, raw, and then read them back as floats. How do you do that?
...